diff options
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 8 |
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.' |
88 | endef | 88 | endef |
89 | 89 | ||
90 | ifneq ($(KBUILD_SRC),) | 90 | KBUILD_KCONFIG := arch/um/Kconfig.$(HEADER_ARCH) |
91 | $(shell mkdir -p $(ARCH_DIR) && ln -fsn $(srctree)/$(ARCH_DIR)/Kconfig.$(HEADER_ARCH) $(ARCH_DIR)/Kconfig.arch) | ||
92 | else | ||
93 | $(shell ln -fsn Kconfig.$(HEADER_ARCH) $(ARCH_DIR)/Kconfig.arch) | ||
94 | endif | ||
95 | 91 | ||
96 | archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/shared/user_constants.h | 92 | archprepare: $(ARCH_SYMLINKS) $(ARCH_DIR)/include/shared/user_constants.h |
97 | prepare: $(ARCH_DIR)/include/shared/kern_constants.h | 93 | prepare: $(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. |
129 | CLEAN_FILES += linux x.i gmon.out $(ARCH_DIR)/include/shared/uml-config.h \ | 125 | CLEAN_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 | ||
133 | MRPROPER_FILES += $(ARCH_SYMLINKS) | 129 | MRPROPER_FILES += $(ARCH_SYMLINKS) |
134 | 130 | ||