From: David Brownell Date: Sat, 20 Oct 2007 04:42:24 +0000 (-0700) Subject: kbuild: fix toplevel Makefile/depmod X-Git-Tag: v2.6.24-rc1~119^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=0b463ff139d8f911f90c1d33a53aba094ed45907;p=linux-2.6-omap-h63xx.git kbuild: fix toplevel Makefile/depmod This removes a syntax error (seen building on Ubuntu Feisty). Signed-off-by: David Brownell Signed-off-by: Sam Ravnborg --- diff --git a/Makefile b/Makefile index f9c264e243a..50bb50defe1 100644 --- 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); \