aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/Makefile
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-08-25 04:51:27 -0400
committerH. Peter Anvin <hpa@zytor.com>2008-10-23 01:55:23 -0400
commit61bee20445935ee9802d25c261849440497497d3 (patch)
tree481d98b301e248fcd5647c859ecfe9c137d57b0f /arch/um/Makefile
parentec82c32d45644998a28abad0a6a9ccdd721a054e (diff)
x86, um: get rid of arch/um/Kconfig.arch
Teach scripts/kconfig/Makefile and top-level Makefile that arch/*/Makefile is allowed to say Kconfig := <whatever I want instead of arch/blah/Kconfig>. Rewrite arch/um/Kconfig and arch/um/Kconfig.<subarch> so that the latter would be top-level one (and include the pieces of the former). Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
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