diff options
author | Jeremy Laine <jeremy.laine@m4x.org> | 2008-03-27 22:31:45 +0000 |
---|---|---|
committer | Jeremy Laine <jeremy.laine@m4x.org> | 2008-03-27 22:31:45 +0000 |
commit | cf24aa67b9d1eff14109dd95d74eb727c50635a0 (patch) | |
tree | 9c1f45c43e91f1db1df45a7c78fc5cb5ae088ce1 | |
parent | a7452d857a650ba80943605177ed4442a65e3292 (diff) |
kernel.bbclass,linux.inc: move dependency on u-boot-openmoko-native to kernel.bbclass
-rw-r--r-- | classes/kernel.bbclass | 4 | ||||
-rw-r--r-- | packages/linux/linux.inc | 14 |
2 files changed, 3 insertions, 15 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index f111c9f092..06ae2466ea 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -5,6 +5,8 @@ DEPENDS += "virtual/${TARGET_PREFIX}depmod-${@get_kernelmajorversion('${PV}')} v KERNEL_IMAGETYPE ?= "zImage" +# Add dependency on mkimage for kernels that build a uImage + python __anonymous () { import bb @@ -12,7 +14,7 @@ python __anonymous () { kerneltype = bb.data.getVar('KERNEL_IMAGETYPE', d, 1) or '' if kerneltype == 'uImage': depends = bb.data.getVar("DEPENDS", d, 1) - depends = "%s u-boot-mkimage-native" % depends + depends = "%s u-boot-mkimage-openmoko-native" % depends bb.data.setVar("DEPENDS", depends, d) } diff --git a/packages/linux/linux.inc b/packages/linux/linux.inc index 66636ba50e..e46061610d 100644 --- a/packages/linux/linux.inc +++ b/packages/linux/linux.inc @@ -4,20 +4,6 @@ LICENSE = "GPL" inherit kernel -# Add dependency on mkimage for kernels that build a uImage - -python __anonymous () { - - import bb - - kerneltype = bb.data.getVar('KERNEL_IMAGETYPE', d, 1) or '' - if kerneltype == 'uImage': - depends = bb.data.getVar("DEPENDS", d, 1) - depends = "%s u-boot-mkimage-openmoko-native" % depends - bb.data.setVar("DEPENDS", depends, d) -} - - RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" # Specify the commandline for your device |