summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-uimage.bbclass
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2017-03-25 18:03:55 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 10:08:34 (GMT)
commitf5187871ce03fc24cb0017cff1089a288f50a24f (patch)
tree83fa8184f091b1eacaecdb689609cdfdda2a6f5f /meta/classes/kernel-uimage.bbclass
parent871363251a2de8fd701e80f711fbd3770dbf992e (diff)
downloadpoky-f5187871ce03fc24cb0017cff1089a288f50a24f.tar.gz
classes: Replace "if test" file tests with POSIX file testsuninative-1.6
In entire meta/classes/ directory, replace shell tests of the form "if test -? ..." with POSIX tests of the form "if [ -? ... (From OE-Core rev: 78928016f4cf38cf6751cb089200bf950d07ae93) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel-uimage.bbclass')
-rw-r--r--meta/classes/kernel-uimage.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-uimage.bbclass b/meta/classes/kernel-uimage.bbclass
index 7e7185f..e2e9b63 100644
--- a/meta/classes/kernel-uimage.bbclass
+++ b/meta/classes/kernel-uimage.bbclass
@@ -23,7 +23,7 @@ do_uboot_mkimage() {
23 uboot_prep_kimage 23 uboot_prep_kimage
24 24
25 ENTRYPOINT=${UBOOT_ENTRYPOINT} 25 ENTRYPOINT=${UBOOT_ENTRYPOINT}
26 if test -n "${UBOOT_ENTRYSYMBOL}"; then 26 if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then
27 ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \ 27 ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \
28 awk '$3=="${UBOOT_ENTRYSYMBOL}" {print $1}'` 28 awk '$3=="${UBOOT_ENTRYSYMBOL}" {print $1}'`
29 fi 29 fi