aboutsummaryrefslogtreecommitdiffstats
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:58:09 +0200
commit7d85a77fb455b90e585e718ae79929ed3d0b9a3c (patch)
tree1b5705f81b9b176f81358f3987c02719a168dd73
parent75cf830027c3da7262d9be86f3f79ab64126db78 (diff)
downloadmeta-openembedded-contrib-7d85a77fb455b90e585e718ae79929ed3d0b9a3c.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>
-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 b7e9f54a85..98320feeda 100644
--- a/meta-oe/classes/kernel.bbclass
+++ b/meta-oe/classes/kernel.bbclass
@@ -512,7 +512,7 @@ KERNEL_IMAGE_SYMLINK_NAME ?= "${KERNEL_IMAGETYPE}-${MACHINE}"
do_uboot_mkimage() {
if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
- if test ! -e arch/${ARCH}/boot/uImage ; then
+ if test "x${KEEPUIMAGE}" = "x" ; then
ENTRYPOINT=${UBOOT_ENTRYPOINT}
if test -n "${UBOOT_ENTRYSYMBOL}"; then
ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \