Message ID | 1547454569-27319-1-git-send-email-yamada.masahiro@socionext.com |
---|---|
State | Accepted |
Commit | b421b8a6cb87f099466fff00d1870c2db778c617 |
Headers | show |
Series | kbuild: remove unused archmrproper | expand |
On Mon, Jan 14, 2019 at 5:30 PM Masahiro Yamada <yamada.masahiro@socionext.com> wrote: > > No one uses archmrproper. > > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> > --- Applied to linux-kbuild/fixes. > > Makefile | 4 ++-- > arch/h8300/Makefile | 2 -- > 2 files changed, 2 insertions(+), 4 deletions(-) > > diff --git a/Makefile b/Makefile > index 68898cc..a9c54e1 100644 > --- a/Makefile > +++ b/Makefile > @@ -1360,11 +1360,11 @@ mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS)) > mrproper: rm-files := $(wildcard $(MRPROPER_FILES)) > mrproper-dirs := $(addprefix _mrproper_,scripts) > > -PHONY += $(mrproper-dirs) mrproper archmrproper > +PHONY += $(mrproper-dirs) mrproper > $(mrproper-dirs): > $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@) > > -mrproper: clean archmrproper $(mrproper-dirs) > +mrproper: clean $(mrproper-dirs) > $(call cmd,rmdirs) > $(call cmd,rmfiles) > > diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile > index 4003ddc..f801f37 100644 > --- a/arch/h8300/Makefile > +++ b/arch/h8300/Makefile > @@ -37,8 +37,6 @@ libs-y += arch/$(ARCH)/lib/ > > boot := arch/h8300/boot > > -archmrproper: > - > archclean: > $(Q)$(MAKE) $(clean)=$(boot) > > -- > 2.7.4 > -- Best Regards Masahiro Yamada
diff --git a/Makefile b/Makefile index 68898cc..a9c54e1 100644 --- a/Makefile +++ b/Makefile @@ -1360,11 +1360,11 @@ mrproper: rm-dirs := $(wildcard $(MRPROPER_DIRS)) mrproper: rm-files := $(wildcard $(MRPROPER_FILES)) mrproper-dirs := $(addprefix _mrproper_,scripts) -PHONY += $(mrproper-dirs) mrproper archmrproper +PHONY += $(mrproper-dirs) mrproper $(mrproper-dirs): $(Q)$(MAKE) $(clean)=$(patsubst _mrproper_%,%,$@) -mrproper: clean archmrproper $(mrproper-dirs) +mrproper: clean $(mrproper-dirs) $(call cmd,rmdirs) $(call cmd,rmfiles) diff --git a/arch/h8300/Makefile b/arch/h8300/Makefile index 4003ddc..f801f37 100644 --- a/arch/h8300/Makefile +++ b/arch/h8300/Makefile @@ -37,8 +37,6 @@ libs-y += arch/$(ARCH)/lib/ boot := arch/h8300/boot -archmrproper: - archclean: $(Q)$(MAKE) $(clean)=$(boot)
No one uses archmrproper. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> --- Makefile | 4 ++-- arch/h8300/Makefile | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) -- 2.7.4