diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-25 04:51:27 -0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2008-10-23 01:55:23 -0400 |
commit | 61bee20445935ee9802d25c261849440497497d3 (patch) | |
tree | 481d98b301e248fcd5647c859ecfe9c137d57b0f /arch/um/Makefile | |
parent | ec82c32d45644998a28abad0a6a9ccdd721a054e (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/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 | ||