aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r--arch/um/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 10894405ca75..425b81939619 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -87,11 +87,7 @@ define archhelp
87 echo ' find in the kernel root.' 87 echo ' find in the kernel root.'
88endef 88endef
89 89
90ifneq ($(KBUILD_SRC),) 90KBUILD_KCONFIG := arch/um/Kconfig.$(HEADER_ARCH)
91$(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(HEADER_ARCH) $(ARCH_DIR)/Kconfig.arch)
92else
93$(shell ln -fsn Kconfig.$(HEADER_ARCH) $(ARCH_DIR)/Kconfig.arch)
94endif
95 91
96archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/shared/user_constants.h 92archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/shared/user_constants.h
97prepare: $(ARCH_DIR)/include/shared/kern_constants.h 93prepare: $(ARCH_DIR)/include/shared/kern_constants.h
@@ -128,7 +124,7 @@ endef
128# TT or skas makefiles and don't clean skas_ptregs.h. 124# TT or skas makefiles and don't clean skas_ptregs.h.
129CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/shared/uml-config.h \ 125CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/shared/uml-config.h \
130 $(ARCH_DIR)/include/shared/user_constants.h \ 126 $(ARCH_DIR)/include/shared/user_constants.h \
131 $(ARCH_DIR)/include/shared/kern_constants.h $(ARCH_DIR)/Kconfig.arch 127 $(ARCH_DIR)/include/shared/kern_constants.h
132 128
133MRPROPER_FILES += $(ARCH_SYMLINKS) 129MRPROPER_FILES += $(ARCH_SYMLINKS)
134 130