aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorJeremy Laine <jeremy.laine@m4x.org>2008-03-27 22:31:45 +0000
committerJeremy Laine <jeremy.laine@m4x.org>2008-03-27 22:31:45 +0000
commitcf24aa67b9d1eff14109dd95d74eb727c50635a0 (patch)
tree9c1f45c43e91f1db1df45a7c78fc5cb5ae088ce1 /classes
parenta7452d857a650ba80943605177ed4442a65e3292 (diff)
downloadopenembedded-cf24aa67b9d1eff14109dd95d74eb727c50635a0.tar.gz
openembedded-cf24aa67b9d1eff14109dd95d74eb727c50635a0.tar.bz2
openembedded-cf24aa67b9d1eff14109dd95d74eb727c50635a0.zip
kernel.bbclass,linux.inc: move dependency on u-boot-openmoko-native to kernel.bbclass
Diffstat (limited to 'classes')
-rw-r--r--classes/kernel.bbclass4
1 files changed, 3 insertions, 1 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)
}