]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ARM: 7120/1: remove bashism in check for multiple zreladdrs
authorRabin Vincent <rabin@rab.in>
Tue, 4 Oct 2011 13:33:34 +0000 (14:33 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 17 Oct 2011 08:13:42 +0000 (09:13 +0100)
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>
arch/arm/boot/compressed/Makefile

index a53a333c255d650c9645ab3dcdd8096d5a7c1851..a6b30b35ca65b8aabb8400c1d631473a35433fdb 100644 (file)
@@ -140,7 +140,7 @@ bad_syms=$$($(CROSS_COMPILE)nm $@ | sed -n 's/^.\{8\} [bc] \(.*\)/\1/p') && \
     echo "$$bad_syms" >&2; rm -f $@; false )
 
 check_for_multiple_zreladdr = \
-if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" == "" ]; then \
+if [ $(words $(ZRELADDR)) -gt 1 -a "$(CONFIG_AUTO_ZRELADDR)" = "" ]; then \
        echo 'multiple zreladdrs: $(ZRELADDR)'; \
        echo 'This needs CONFIG_AUTO_ZRELADDR to be set'; \
        false; \