diff options
author | Rabin Vincent <rabin@rab.in> | 2011-10-04 09:33:34 -0400 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2011-10-17 04:13:42 -0400 |
commit | 4bdad983a4a4fb509aba8b102a2233f0ea1d7681 (patch) | |
tree | 73b329382d02c6de569823b6f9585c1b2e5cb3fb /arch/arm/boot | |
parent | b0c1264f534a1cb3c52036a23a04d238434a0df6 (diff) |
ARM: 7120/1: remove bashism in check for multiple zreladdrs
Get rid of this complaint from dash:
AS arch/arm/boot/compressed/lib1funcs.o
/bin/sh: 1: [: y: unexpected operator
LD arch/arm/boot/compressed/vmlinux
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Rabin Vincent <rabin@rab.in>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/compressed/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile index a53a333c255d..a6b30b35ca65 100644 --- a/arch/arm/boot/compressed/Makefile +++ b/arch/arm/boot/compressed/Makefile | |||
@@ -140,7 +140,7 @@ bad_syms=$$($(CROSS_COMPILE)nm $@ | sed -n 's/^.\{8\} [bc] \(.*\)/\1/p') && \ | |||
140 | echo "$$bad_syms" >&2; rm -f $@; false ) | 140 | echo "$$bad_syms" >&2; rm -f $@; false ) |
141 | 141 | ||
142 | check_for_multiple_zreladdr = \ | 142 | check_for_multiple_zreladdr = \ |
143 | if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" == "" ]; then \ | 143 | if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" = "" ]; then \ |
144 | echo 'multiple zreladdrs: $(ZRELADDR)'; \ | 144 | echo 'multiple zreladdrs: $(ZRELADDR)'; \ |
145 | echo 'This needs CONFIG_AUTO_ZRELADDR to be set'; \ | 145 | echo 'This needs CONFIG_AUTO_ZRELADDR to be set'; \ |
146 | false; \ | 146 | false; \ |