diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-10-22 05:30:45 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-10-22 14:04:37 -0400 |
commit | d8d2e78a061e1ace98544b100b7837c620fbb950 (patch) | |
tree | 6976f04aca55356421564e75be2ef5547af3cb35 /Makefile | |
parent | ab19f8794a66910ef9b33041ccfa05b6b12ab6c9 (diff) |
kbuild: allow depmod in cross builds again
depmod from module-init-tools 3.3-pre2 are reported
to work fine in cross build.
depmod from module-init-tools 3.1-pre5 are known to SEGV
Do not workaround older module-init-tools bugs here.
The right fix is for users to upgrade module-init-tools.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1505,7 +1505,7 @@ quiet_cmd_rmfiles = $(if $(wildcard $(rm-files)),CLEAN $(wildcard $(rm-files)) | |||
1505 | # and we build for the host arch | 1505 | # and we build for the host arch |
1506 | quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) | 1506 | quiet_cmd_depmod = DEPMOD $(KERNELRELEASE) |
1507 | cmd_depmod = \ | 1507 | cmd_depmod = \ |
1508 | if [ -r System.map -a -x $(DEPMOD) -a "$(SUBARCH)" = "$(ARCH)" ]; then \ | 1508 | if [ -r System.map -a -x $(DEPMOD) ]; then \ |
1509 | $(DEPMOD) -ae -F System.map \ | 1509 | $(DEPMOD) -ae -F System.map \ |
1510 | $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \ | 1510 | $(if $(strip $(INSTALL_MOD_PATH)), -b $(INSTALL_MOD_PATH) -r) \ |
1511 | $(KERNELRELEASE); \ | 1511 | $(KERNELRELEASE); \ |