summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-fitimage.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/kernel-fitimage.bbclass')
-rw-r--r--meta/classes/kernel-fitimage.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-fitimage.bbclass b/meta/classes/kernel-fitimage.bbclass
index 6f1b7667bc..5583b4472e 100644
--- a/meta/classes/kernel-fitimage.bbclass
+++ b/meta/classes/kernel-fitimage.bbclass
@@ -97,8 +97,8 @@ fitimage_emit_section_kernel() {
97 97
98 ENTRYPOINT=${UBOOT_ENTRYPOINT} 98 ENTRYPOINT=${UBOOT_ENTRYPOINT}
99 if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then 99 if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then
100 ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \ 100 ENTRYPOINT=`${HOST_PREFIX}nm vmlinux | \
101 awk '$4=="${UBOOT_ENTRYSYMBOL}" {print $2}'` 101 awk '$3=="${UBOOT_ENTRYSYMBOL}" {print "0x"$1;exit}'`
102 fi 102 fi
103 103
104 cat << EOF >> ${1} 104 cat << EOF >> ${1}