]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT
authorVineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
Thu, 8 Feb 2018 06:29:36 +0000 (11:59 +0530)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 9 Feb 2018 14:35:54 +0000 (14:35 +0000)
64 bit entry point should be passed in 2 literals ( "0x1 0x00008000"
).ENTRYPOINT is assigned with first half only and erroring out as
'command not found' for the second half. Adding quotes while assignment fixes the
issue.

Signed-off-by: Vineeth Chowdary Karumanchi <vineethchowz.chowdary@xilinx.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass

index a50f8a18eef08c0be95fefa6478171a8a99e8d24..50a91e199069acbfca98b18146b305a0b9c1522e 100644 (file)
@@ -102,7 +102,7 @@ fitimage_emit_section_kernel() {
 
        kernel_csum="sha1"
 
-       ENTRYPOINT=${UBOOT_ENTRYPOINT}
+       ENTRYPOINT="${UBOOT_ENTRYPOINT}"
        if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then
                ENTRYPOINT=`${HOST_PREFIX}nm vmlinux | \
                        awk '$3=="${UBOOT_ENTRYSYMBOL}" {print "0x"$1;exit}'`