From: Vineeth Chowdary Karumanchi Date: Thu, 8 Feb 2018 06:29:36 +0000 (+0530) Subject: kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~18831 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e886c9c5e1a8ab28388a2e8bbb936ad5eea78615;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass index a50f8a18eef..50a91e19906 100644 --- a/meta/classes/kernel-fitimage.bbclass +++ b/meta/classes/kernel-fitimage.bbclass @@ -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}'`