Browse Source

realclean: wipe kconfig objects

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Bernhard Reutner-Fischer 15 years ago
parent
commit
f8f038ccd1
3 changed files with 6 additions and 3 deletions
  1. 3 0
      Makefile.in
  2. 1 1
      Makerules
  3. 2 2
      extra/config/Makefile

+ 3 - 0
Makefile.in

@@ -427,6 +427,9 @@ defconfig: $(top_builddir)extra/config/conf
 	$(Q)$(top_builddir)extra/config/conf -d extra/Configs/Config.in \
 		-D extra/Configs/defconfigs/$(ARCH)
 
+menuconfig-clean-y:
+	$(Q)$(MAKE) -C extra/config menuconfig_clean
+
 include_clean:
 	$(Q)$(RM) $(top_builddir)include/fpu_control.h $(top_builddir)include/dl-osinfo.h $(top_builddir)include/hp-timing.h
 	@set -e; \

+ 1 - 1
Makerules

@@ -435,7 +435,7 @@ files.dep := $(libc-a-y) $(libc-so-y) $(libc-nonshared-y) \
 FORCE:
 
 clean: objclean-y headers_clean-y
-realclean: clean
+realclean: clean menuconfig-clean-y
 	$(Q)$(RM) $(.depends.dep)
 
 objclean-y: $(objclean-y)

+ 2 - 2
extra/config/Makefile

@@ -73,8 +73,8 @@ $(obj)/%:: $(top_srcdir)$(src)/%_shipped
 	@$(disp_gen)
 	$(Q)cat $< > $@
 endif
-clean:
-	$(do_rm) $(clean-files) conf
+menuconfig_clean:
+	$(do_rm) $(clean-files) conf $(wildcard *.o)
 distclean: clean
 	$(do_rm) $(lxdialog) $(conf-objs) $(mconf-objs) \
 		$(kxgettext-objs) \