summaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-04-27 08:06:28 +0000
committerKoen Kooi <koen@dominion.thruhere.net>2012-04-27 21:57:32 +0200
commit8f9b2e3a102e66426ce5b269a6827fc6a3218bef (patch)
tree65a9f129e6a810c7a1c292c28b5d97773249a9a2 /meta-oe/classes
parent83aaa60d4934a70084a846a0e6d240c09dbc66a9 (diff)
downloadmeta-openembedded-8f9b2e3a102e66426ce5b269a6827fc6a3218bef.tar.gz
kernel bbclass: recreate uImage unless KEEPUIMAGE is set
The intent of the uImage code in this class includes the following 1) be able to specify custom load addresses without needing to patch the kernel 2) add better information to the uImage description field The current state is a NOP anyway, the kernel will always build a uImage when you tell it to 'make uImage'. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/kernel.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/classes/kernel.bbclass b/meta-oe/classes/kernel.bbclass
index b7e9f54a8..98320feed 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -512,7 +512,7 @@ KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}"
512 512
513do_uboot_mkimage() { 513do_uboot_mkimage() {
514 if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then 514 if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
515 if test ! -e arch/${ARCH}/boot/uImage ; then 515 if test "x${KEEPUIMAGE}" = "x" ; then
516 ENTRYPOINT=${UBOOT_ENTRYPOINT} 516 ENTRYPOINT=${UBOOT_ENTRYPOINT}
517 if test -n "${UBOOT_ENTRYSYMBOL}"; then 517 if test -n "${UBOOT_ENTRYSYMBOL}"; then
518 ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \ 518 ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \