Commit 8202c057 authored by Kai Germaschewski's avatar Kai Germaschewski

kbuild: Suppress printing of '$(MAKE) -C command' line

Don't print the actual command to call make in a subdir, make will
print 'Entering directory <foo>' anyway, so we don't lose that
information.
parent 56de0f3c
...@@ -181,7 +181,7 @@ vmlinux: include/linux/version.h $(CONFIGURATION) init/main.o init/version.o ini ...@@ -181,7 +181,7 @@ vmlinux: include/linux/version.h $(CONFIGURATION) init/main.o init/version.o ini
linuxsubdirs: $(patsubst %, _dir_%, $(SUBDIRS)) linuxsubdirs: $(patsubst %, _dir_%, $(SUBDIRS))
$(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/linux/version.h include/config/MARKER $(patsubst %, _dir_%, $(SUBDIRS)) : dummy include/linux/version.h include/config/MARKER
$(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" AFLAGS="$(AFLAGS) $(AFLAGS_KERNEL)" -C $(patsubst _dir_%, %, $@) @$(MAKE) CFLAGS="$(CFLAGS) $(CFLAGS_KERNEL)" AFLAGS="$(AFLAGS) $(AFLAGS_KERNEL)" -C $(patsubst _dir_%, %, $@)
# Configuration # Configuration
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
...@@ -190,11 +190,11 @@ oldconfig: symlinks ...@@ -190,11 +190,11 @@ oldconfig: symlinks
$(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in $(CONFIG_SHELL) scripts/Configure -d arch/$(ARCH)/config.in
xconfig: symlinks xconfig: symlinks
$(MAKE) -C scripts kconfig.tk @$(MAKE) -C scripts kconfig.tk
wish -f scripts/kconfig.tk wish -f scripts/kconfig.tk
menuconfig: include/linux/version.h symlinks menuconfig: include/linux/version.h symlinks
$(MAKE) -C scripts/lxdialog all @$(MAKE) -C scripts/lxdialog all
$(CONFIG_SHELL) scripts/Menuconfig arch/$(ARCH)/config.in $(CONFIG_SHELL) scripts/Menuconfig arch/$(ARCH)/config.in
config: symlinks config: symlinks
...@@ -274,7 +274,7 @@ modules: $(patsubst %, _mod_%, $(SUBDIRS)) ...@@ -274,7 +274,7 @@ modules: $(patsubst %, _mod_%, $(SUBDIRS))
.PHONY: $(patsubst %, _mod_%, $(SUBDIRS)) .PHONY: $(patsubst %, _mod_%, $(SUBDIRS))
$(patsubst %, _mod_%, $(SUBDIRS)) : include/linux/version.h include/config/MARKER $(patsubst %, _mod_%, $(SUBDIRS)) : include/linux/version.h include/config/MARKER
$(MAKE) -C $(patsubst _mod_%, %, $@) CFLAGS="$(CFLAGS) $(MODFLAGS)" MAKING_MODULES=1 modules @$(MAKE) -C $(patsubst _mod_%, %, $@) CFLAGS="$(CFLAGS) $(MODFLAGS)" MAKING_MODULES=1 modules
# Install modules # Install modules
...@@ -304,7 +304,7 @@ _modinst_post: ...@@ -304,7 +304,7 @@ _modinst_post:
.PHONY: $(patsubst %, _modinst_%, $(SUBDIRS)) .PHONY: $(patsubst %, _modinst_%, $(SUBDIRS))
$(patsubst %, _modinst_%, $(SUBDIRS)) : $(patsubst %, _modinst_%, $(SUBDIRS)) :
$(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install @$(MAKE) -C $(patsubst _modinst_%, %, $@) modules_install
else # CONFIG_MODULES else # CONFIG_MODULES
...@@ -395,13 +395,13 @@ clean: archclean ...@@ -395,13 +395,13 @@ clean: archclean
| grep -v lxdialog/ | xargs rm -f | grep -v lxdialog/ | xargs rm -f
rm -f $(CLEAN_FILES) rm -f $(CLEAN_FILES)
rm -rf $(CLEAN_DIRS) rm -rf $(CLEAN_DIRS)
$(MAKE) -C Documentation/DocBook clean @$(MAKE) -C Documentation/DocBook clean
mrproper: clean archmrproper mrproper: clean archmrproper
find . \( -size 0 -o -name .depend \) -type f -print | xargs rm -f find . \( -size 0 -o -name .depend \) -type f -print | xargs rm -f
rm -f $(MRPROPER_FILES) rm -f $(MRPROPER_FILES)
rm -rf $(MRPROPER_DIRS) rm -rf $(MRPROPER_DIRS)
$(MAKE) -C Documentation/DocBook mrproper @$(MAKE) -C Documentation/DocBook mrproper
distclean: mrproper distclean: mrproper
rm -f core `find . \( -not -type d \) -and \ rm -f core `find . \( -not -type d \) -and \
...@@ -415,7 +415,7 @@ distclean: mrproper ...@@ -415,7 +415,7 @@ distclean: mrproper
# Documentation targets # Documentation targets
sgmldocs psdocs pdfdocs htmldocs: sgmldocs psdocs pdfdocs htmldocs:
$(MAKE) -C Documentation/DocBook $@ @$(MAKE) -C Documentation/DocBook $@
# RPM target # RPM target
......
...@@ -175,7 +175,7 @@ endif ...@@ -175,7 +175,7 @@ endif
ifdef _FASTDEP_ALL_SUB_DIRS ifdef _FASTDEP_ALL_SUB_DIRS
$(patsubst %,_sfdep_%,$(_FASTDEP_ALL_SUB_DIRS)): $(patsubst %,_sfdep_%,$(_FASTDEP_ALL_SUB_DIRS)):
$(MAKE) -C $(patsubst _sfdep_%,%,$@) fastdep @$(MAKE) -C $(patsubst _sfdep_%,%,$@) fastdep
endif endif
...@@ -187,7 +187,7 @@ sub_dirs: dummy $(subdir-list) ...@@ -187,7 +187,7 @@ sub_dirs: dummy $(subdir-list)
ifdef SUB_DIRS ifdef SUB_DIRS
$(subdir-list) : dummy $(subdir-list) : dummy
$(MAKE) -C $(patsubst _subdir_%,%,$@) @$(MAKE) -C $(patsubst _subdir_%,%,$@)
endif endif
# #
...@@ -200,11 +200,11 @@ endif ...@@ -200,11 +200,11 @@ endif
ifneq "$(strip $(MOD_SUB_DIRS))" "" ifneq "$(strip $(MOD_SUB_DIRS))" ""
.PHONY: $(patsubst %,_modsubdir_%,$(MOD_SUB_DIRS)) .PHONY: $(patsubst %,_modsubdir_%,$(MOD_SUB_DIRS))
$(patsubst %,_modsubdir_%,$(MOD_SUB_DIRS)) : dummy $(patsubst %,_modsubdir_%,$(MOD_SUB_DIRS)) : dummy
$(MAKE) -C $(patsubst _modsubdir_%,%,$@) modules @$(MAKE) -C $(patsubst _modsubdir_%,%,$@) modules
.PHONY: $(patsubst %,_modinst_%,$(MOD_SUB_DIRS)) .PHONY: $(patsubst %,_modinst_%,$(MOD_SUB_DIRS))
$(patsubst %,_modinst_%,$(MOD_SUB_DIRS)) : dummy $(patsubst %,_modinst_%,$(MOD_SUB_DIRS)) : dummy
$(MAKE) -C $(patsubst _modinst_%,%,$@) modules_install @$(MAKE) -C $(patsubst _modinst_%,%,$@) modules_install
endif endif
.PHONY: modules .PHONY: modules
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment