summaryrefslogtreecommitdiff
path: root/scripts/Makefile.clean
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2003-01-02 08:01:36 +1100
committerPaul Mackerras <paulus@samba.org>2003-01-02 08:01:36 +1100
commit52daa1f418d104420b8e3cf7c4e2b9edeb3c3ca1 (patch)
tree2731da99a956944ecc6ccf9500a416743aae06ba /scripts/Makefile.clean
parent40f576b5364c98919b0f913dec3f8c6d92e4ee0d (diff)
parent49b5e1f71b720f4c3290f586d9231a7cffcb6935 (diff)
Merge samba.org:/home/paulus/kernel/linux-2.5
into samba.org:/home/paulus/kernel/for-linus-ppc
Diffstat (limited to 'scripts/Makefile.clean')
-rw-r--r--scripts/Makefile.clean7
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/Makefile.clean b/scripts/Makefile.clean
index e7c392fd5788..07af41d7933e 100644
--- a/scripts/Makefile.clean
+++ b/scripts/Makefile.clean
@@ -56,8 +56,13 @@ endif
.PHONY: $(subdir-ymn)
$(subdir-ymn):
- $(Q)$(MAKE) -f scripts/Makefile.clean obj=$@
+ $(Q)$(MAKE) $(clean)=$@
# If quiet is set, only print short version of command
cmd = @$(if $($(quiet)cmd_$(1)),echo ' $($(quiet)cmd_$(1))' &&) $(cmd_$(1))
+
+# Shorthand for $(Q)$(MAKE) scripts/Makefile.clean obj=dir
+# Usage:
+# $(Q)$(MAKE) $(clean)=dir
+clean := -f scripts/Makefile.clean obj