summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-uimage.bbclass
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2017-03-25 14:03:55 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-27 11:08:28 +0100
commit78928016f4cf38cf6751cb089200bf950d07ae93 (patch)
treeaadfa47d574ff2a15f7f07a548fe3e71bf0dd3ec /meta/classes/kernel-uimage.bbclass
parentbdaba95af2b2c9174311374436f184d2a927f6f1 (diff)
downloadopenembedded-core-78928016f4cf38cf6751cb089200bf950d07ae93.tar.gz
openembedded-core-78928016f4cf38cf6751cb089200bf950d07ae93.tar.bz2
openembedded-core-78928016f4cf38cf6751cb089200bf950d07ae93.zip
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 [ -? ... 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 7e7185f903..e2e9b63110 100644
--- a/meta/classes/kernel-uimage.bbclass
+++ b/meta/classes/kernel-uimage.bbclass
@@ -23,7 +23,7 @@ do_uboot_mkimage() {
uboot_prep_kimage
ENTRYPOINT=${UBOOT_ENTRYPOINT}
- if test -n "${UBOOT_ENTRYSYMBOL}"; then
+ if [ -n "${UBOOT_ENTRYSYMBOL}" ]; then
ENTRYPOINT=`${HOST_PREFIX}nm ${S}/vmlinux | \
awk '$3=="${UBOOT_ENTRYSYMBOL}" {print $1}'`
fi