From 69964a474a397a844e82d0b49e40f8f6d46eaefa Mon Sep 17 00:00:00 2001 From: Sam Ravnborg Date: Mon, 30 Dec 2002 13:09:26 -0600 Subject: kbuild: $(build) and $(clean) macros for make invocation The former macro $(descend ...) hide for make the fact that a recursively make was invoked. The replacement $(Q)$(MAKE) -f scripts/Makefile.build obj=dir was too verbose. Introduced $(build) and $(clean) allowing the following syntax: $(Q)$(MAKE) $(build)=arch/i386/boot target and similar for clean. Introduced $(build) and $(clean) in general, and for i386 architecture. --- scripts/Makefile.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/Makefile.build') diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 5d4c0a41972b..2db7cc59c2bd 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -286,7 +286,7 @@ targets += $(host-csingle) $(host-cmulti) $(host-cobjs)\ .PHONY: $(subdir-ym) $(subdir-ym): - $(Q)$(MAKE) -f scripts/Makefile.build obj=$@ + $(Q)$(MAKE) $(build)=$@ # Add FORCE to the prequisites of a target to force it to be always rebuilt. # --------------------------------------------------------------------------- -- cgit v1.2.3