[PATCH] Uml: more cleaning
We must remove even arch/um/os-Linux/util/mk_user_constants, which we don't do. Also, Kconfig_arch must be listed only once, between CLEAN_FILES. Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
2625c1be34
commit
2d5cbf324c
1 changed files with 3 additions and 4 deletions
|
@ -103,7 +103,6 @@ endef
|
||||||
|
|
||||||
ifneq ($(KBUILD_SRC),)
|
ifneq ($(KBUILD_SRC),)
|
||||||
$(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch)
|
$(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch)
|
||||||
CLEAN_FILES += $(ARCH_DIR)/Kconfig.arch
|
|
||||||
else
|
else
|
||||||
$(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARCH) Kconfig.arch)
|
$(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARCH) Kconfig.arch)
|
||||||
endif
|
endif
|
||||||
|
@ -144,14 +143,14 @@ endef
|
||||||
#TT or skas makefiles and don't clean skas_ptregs.h.
|
#TT or skas makefiles and don't clean skas_ptregs.h.
|
||||||
CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/uml-config.h \
|
CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/uml-config.h \
|
||||||
$(GEN_HEADERS) $(ARCH_DIR)/include/skas_ptregs.h \
|
$(GEN_HEADERS) $(ARCH_DIR)/include/skas_ptregs.h \
|
||||||
$(ARCH_DIR)/include/user_constants.h
|
$(ARCH_DIR)/include/user_constants.h $(ARCH_DIR)/Kconfig.arch
|
||||||
|
|
||||||
MRPROPER_FILES += $(SYMLINK_HEADERS) $(ARCH_SYMLINKS) \
|
MRPROPER_FILES += $(SYMLINK_HEADERS) $(ARCH_SYMLINKS) \
|
||||||
$(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os \
|
$(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os
|
||||||
$(ARCH_DIR)/Kconfig.arch
|
|
||||||
|
|
||||||
archclean:
|
archclean:
|
||||||
$(Q)$(MAKE) $(clean)=$(ARCH_DIR)/util
|
$(Q)$(MAKE) $(clean)=$(ARCH_DIR)/util
|
||||||
|
$(Q)$(MAKE) $(clean)=$(ARCH_DIR)/os-$(OS)/util
|
||||||
@find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \
|
@find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \
|
||||||
-o -name '*.gcov' \) -type f -print | xargs rm -f
|
-o -name '*.gcov' \) -type f -print | xargs rm -f
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue