[oe-commits] [openembedded-core] 11/14: kernel-fitimage.bbclass: Fix 64 bit ENTRYPOINT

git at git.openembedded.org git at git.openembedded.org
Fri Feb 9 14:38:28 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit e886c9c5e1a8ab28388a2e8bbb936ad5eea78615
Author: Vineeth Chowdary Karumanchi <vineethchowz.chowdary at xilinx.com>
AuthorDate: Thu Feb 8 11:59:36 2018 +0530

    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 <vineethchowz.chowdary at xilinx.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/kernel-fitimage.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index a50f8a1..50a91e1 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}'`

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list