diff options
author | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-01-26 13:02:11 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@mars.ravnborg.org> | 2003-01-26 13:02:11 +0100 |
commit | 7806d2f1d57c961a97c1a836d95973f49936a72d (patch) | |
tree | 0334d3d1b3cdfd9b7781a1bec8c9dea75e1a39a3 /Makefile | |
parent | d2fdc7593ae5e3dd0d321588f671c20973433c19 (diff) | |
download | history-7806d2f1d57c961a97c1a836d95973f49936a72d.tar.gz |
kbuild: arch{mrproper,clean} no longer mandatory
archmrproper and archclean is declared .PHONY in top-level Makefile,
therefore they are no longer mandatory in arch/$(ARCH)/Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile index 3387d56da0b0b..c7e49e2ec0709 100644 --- a/Makefile +++ b/Makefile @@ -705,14 +705,14 @@ MRPROPER_DIRS += \ # clean - Delete all intermediate files # -clean-dirs += $(ALL_SUBDIRS) Documentation/DocBook scripts - -$(addprefix _clean_,$(clean-dirs)): +clean-dirs += $(addprefix, _clean_,$(ALL_SUBDIRS) Documentation/DocBook scripts) +.PHONY: $(clean-dirs) clean archclean mrproper archmrproper distclean +$(clean-dirs): $(Q)$(MAKE) $(clean)=$(patsubst _clean_%,%,$@) quiet_cmd_rmclean = RM $$(CLEAN_FILES) cmd_rmclean = rm -f $(CLEAN_FILES) -clean: archclean $(addprefix _clean_,$(clean-dirs)) +clean: archclean $(clean-dirs) $(call cmd,rmclean) @find . $(RCS_FIND_IGNORE) \ \( -name '*.[oas]' -o -name '*.ko' -o -name '.*.cmd' \ |