]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
kbuild: fix toplevel Makefile/depmod
authorDavid Brownell <david-b@pacbell.net>
Sat, 20 Oct 2007 04:42:24 +0000 (21:42 -0700)
committerSam Ravnborg <sam@neptun.(none)>
Sat, 20 Oct 2007 18:10:19 +0000 (20:10 +0200)
This removes a syntax error (seen building on Ubuntu Feisty).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile

index f9c264e243a2a01e78cd85d209b8cdae8102a6ab..50bb50defe187c1c9a7ec3ebd50a4f2366f2eccd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1505,7 +1505,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN   $(wildcard $(rm-files))
 # and we build for the host arch
 quiet_cmd_depmod = DEPMOD  $(KERNELRELEASE)
       cmd_depmod = \
-       if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" == "$(ARCH)" ]; then \
+       if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" = "$(ARCH)" ]; then \
                $(DEPMOD) -ae -F System.map                                     \
                $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r)   \
                $(KERNELRELEASE);                                               \