diff options
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | arch/m68knommu/Makefile | 2 | ||||
-rw-r--r-- | arch/mips/Makefile | 2 | ||||
-rw-r--r-- | scripts/Makefile.lib | 5 |
4 files changed, 2 insertions, 12 deletions
@@ -1356,11 +1356,6 @@ build := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj | |||
1356 | # $(Q)$(MAKE) $(clean)=dir | 1356 | # $(Q)$(MAKE) $(clean)=dir |
1357 | clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj | 1357 | clean := -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.clean obj |
1358 | 1358 | ||
1359 | # $(call descend,<dir>,<target>) | ||
1360 | # Recursively call a sub-make in <dir> with target <target> | ||
1361 | # Usage is deprecated, because make does not see this as an invocation of make. | ||
1362 | descend =$(Q)$(MAKE) -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj=$(1) $(2) | ||
1363 | |||
1364 | endif # skip-makefile | 1359 | endif # skip-makefile |
1365 | 1360 | ||
1366 | FORCE: | 1361 | FORCE: |
diff --git a/arch/m68knommu/Makefile b/arch/m68knommu/Makefile index a254aa9d4998..58c9fa57ca67 100644 --- a/arch/m68knommu/Makefile +++ b/arch/m68knommu/Makefile | |||
@@ -109,7 +109,7 @@ libs-y += arch/m68knommu/lib/ | |||
109 | prepare: include/asm-$(ARCH)/asm-offsets.h | 109 | prepare: include/asm-$(ARCH)/asm-offsets.h |
110 | 110 | ||
111 | archclean: | 111 | archclean: |
112 | $(call descend arch/$(ARCH)/boot, subdirclean) | 112 | $(Q)$(MAKE) $(clean)=arch/m68knommu/boot |
113 | 113 | ||
114 | include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \ | 114 | include/asm-$(ARCH)/asm-offsets.h: arch/$(ARCH)/kernel/asm-offsets.s \ |
115 | include/asm include/linux/version.h \ | 115 | include/asm include/linux/version.h \ |
diff --git a/arch/mips/Makefile b/arch/mips/Makefile index bc1c44274a58..26528b600b97 100644 --- a/arch/mips/Makefile +++ b/arch/mips/Makefile | |||
@@ -683,7 +683,7 @@ drivers-$(CONFIG_OPROFILE) += arch/mips/oprofile/ | |||
683 | 683 | ||
684 | ifdef CONFIG_LASAT | 684 | ifdef CONFIG_LASAT |
685 | rom.bin rom.sw: vmlinux | 685 | rom.bin rom.sw: vmlinux |
686 | $(call descend,arch/mips/lasat/image,$@) | 686 | $(Q)$(MAKE) $(build)=arch/mips/lasat/image $@ |
687 | endif | 687 | endif |
688 | 688 | ||
689 | # | 689 | # |
diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib index 7cf75cc4f849..6e079f38a2c6 100644 --- a/scripts/Makefile.lib +++ b/scripts/Makefile.lib | |||
@@ -229,11 +229,6 @@ if_changed_rule = $(if $(strip $? $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ),\ | |||
229 | 229 | ||
230 | cmd = @$(if $($(quiet)cmd_$(1)),echo ' $(subst ','\'',$($(quiet)cmd_$(1)))' &&) $(cmd_$(1)) | 230 | cmd = @$(if $($(quiet)cmd_$(1)),echo ' $(subst ','\'',$($(quiet)cmd_$(1)))' &&) $(cmd_$(1)) |
231 | 231 | ||
232 | # $(call descend,<dir>,<target>) | ||
233 | # Recursively call a sub-make in <dir> with target <target> | ||
234 | # Usage is deprecated, because make do not see this as an invocation of make. | ||
235 | descend =$(Q)$(MAKE) -f $(if $(KBUILD_SRC),$(srctree)/)scripts/Makefile.build obj=$(1) $(2) | ||
236 | |||
237 | # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= | 232 | # Shorthand for $(Q)$(MAKE) -f scripts/Makefile.build obj= |
238 | # Usage: | 233 | # Usage: |
239 | # $(Q)$(MAKE) $(build)=dir | 234 | # $(Q)$(MAKE) $(build)=dir |