Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Paolo 'Blaisorblade' Giarrusso and committed by
Linus Torvalds
2d5cbf32 2625c1be

+3 -4
+3 -4
arch/um/Makefile
··· 103 103 104 104 ifneq ($(KBUILD_SRC),) 105 105 $(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(SUBARCH) $(ARCH_DIR)/Kconfig.arch) 106 - CLEAN_FILES += $(ARCH_DIR)/Kconfig.arch 107 106 else 108 107 $(shell cd $(ARCH_DIR) && ln -sf Kconfig.$(SUBARCH) Kconfig.arch) 109 108 endif ··· 143 144 #TT or skas makefiles and don't clean skas_ptregs.h. 144 145 CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/uml-config.h \ 145 146 $(GEN_HEADERS) $(ARCH_DIR)/include/skas_ptregs.h \ 146 - $(ARCH_DIR)/include/user_constants.h 147 + $(ARCH_DIR)/include/user_constants.h $(ARCH_DIR)/Kconfig.arch 147 148 148 149 MRPROPER_FILES += $(SYMLINK_HEADERS) $(ARCH_SYMLINKS) \ 149 - $(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os \ 150 - $(ARCH_DIR)/Kconfig.arch 150 + $(addprefix $(ARCH_DIR)/kernel/,$(KERN_SYMLINKS)) $(ARCH_DIR)/os 151 151 152 152 archclean: 153 153 $(Q)$(MAKE) $(clean)=$(ARCH_DIR)/util 154 + $(Q)$(MAKE) $(clean)=$(ARCH_DIR)/os-$(OS)/util 154 155 @find . \( -name '*.bb' -o -name '*.bbg' -o -name '*.da' \ 155 156 -o -name '*.gcov' \) -type f -print | xargs rm -f 156 157