mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
kernel.bbclass: use u-boot-mkimage-native for uImage kernels (from linux.inc)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4116 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -6,17 +6,6 @@ inherit kernel
|
||||
|
||||
DEPENDS_append_em-x270 = " mtd-utils "
|
||||
|
||||
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-native" % depends
|
||||
bb.data.setVar("DEPENDS", depends, d)
|
||||
}
|
||||
|
||||
RPSRC = "http://www.rpsys.net/openzaurus/patches/archive"
|
||||
|
||||
# Specify the commandline for your device
|
||||
|
||||
Reference in New Issue
Block a user