summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
Diffstat (limited to 'linux')
-rw-r--r--linux/nslu2-linksys-kernel_2.4.22.bb4
-rw-r--r--linux/openslug-kernel_2.6.9.bb6
-rw-r--r--linux/unslung-standard-kernel_2.3r25.bb6
3 files changed, 8 insertions, 8 deletions
diff --git a/linux/nslu2-linksys-kernel_2.4.22.bb b/linux/nslu2-linksys-kernel_2.4.22.bb
index f7c41a4a11..0421d69c6e 100644
--- a/linux/nslu2-linksys-kernel_2.4.22.bb
+++ b/linux/nslu2-linksys-kernel_2.4.22.bb
@@ -18,8 +18,8 @@ S = "${WORKDIR}/linux-2.4.22"
python () {
# Don't build unless we're targeting an nslu2
- if oe.data.getVar("MACHINE", d, 1) != "nslu2":
- raise oe.parse.SkipPackage("NSLU2 kernel only builds for the Linksys NSLU2")
+ if bb.data.getVar("MACHINE", d, 1) != "nslu2":
+ raise bb.parse.SkipPackage("NSLU2 kernel only builds for the Linksys NSLU2")
}
COMPATIBLE_HOST = 'arm.*-linux'
diff --git a/linux/openslug-kernel_2.6.9.bb b/linux/openslug-kernel_2.6.9.bb
index 3e94b29e81..0e48638e5b 100644
--- a/linux/openslug-kernel_2.6.9.bb
+++ b/linux/openslug-kernel_2.6.9.bb
@@ -51,8 +51,8 @@ addtask deploy before do_build after do_compile
python () {
# Don't build openslug kernel unless we're targeting an nslu2
- mach = oe.data.getVar("MACHINE", d, 1)
- dist = oe.data.getVar("DISTRO", d, 1)
+ mach = bb.data.getVar("MACHINE", d, 1)
+ dist = bb.data.getVar("DISTRO", d, 1)
if mach != 'nslu2' or dist != 'openslug':
- raise oe.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")
+ raise bb.parse.SkipPackage("OpenSlug only builds for the Linksys NSLU2")
}
diff --git a/linux/unslung-standard-kernel_2.3r25.bb b/linux/unslung-standard-kernel_2.3r25.bb
index 53a23d5a81..678582fb2d 100644
--- a/linux/unslung-standard-kernel_2.3r25.bb
+++ b/linux/unslung-standard-kernel_2.3r25.bb
@@ -22,8 +22,8 @@ FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/unslung-kernel-${PV}/${UNS
python () {
# Don't build unslung kernel unless we're targeting an nslu2
- mach = oe.data.getVar("MACHINE", d, 1)
- dist = oe.data.getVar("DISTRO", d, 1)
+ mach = bb.data.getVar("MACHINE", d, 1)
+ dist = bb.data.getVar("DISTRO", d, 1)
if mach != 'nslu2' or dist != 'unslung':
- raise oe.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
+ raise bb.parse.SkipPackage("Unslung only builds for the Linksys NSLU2")
}