diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-10-13 03:16:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-13 12:57:15 -0400 |
commit | 2b8232ce512105e28453f301d1510de8363bccd1 (patch) | |
tree | 13e15a4f629c72b8737e20221998cb1e55e98d58 /arch/um/Makefile | |
parent | c4ea43c552ecc9ccc564e11e70d397dbdf09484b (diff) |
minimal build fixes for uml (fallout from x86 merge)
a) include/asm-um/arch can't just point to include/asm-$(SUBARCH) now
b) arch/{i386,x86_64}/crypto are merged now
c) subarch-obj needed changes
d) cpufeature_64.h should pull "cpufeature_32.h", not <asm/cpufeature_32.h>
since it can be included from asm-um/cpufeature.h
e) in case of uml-i386 we need CONFIG_X86_32 for make and gcc, but not
for Kconfig
f) sysctl.c shouldn't do vdso_enabled for uml-i386 (actually, that one
should be registered from corresponding arch/*/kernel/*, with ifdef
going away; that's a separate patch, though).
With that and with Stephen's patch ("[PATCH net-2.6] uml: hard_header fix")
we have uml allmodconfig building both on i386 and amd64.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 989224f21346..0666729eb976 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -176,9 +176,9 @@ include/asm-um/arch: | |||
176 | @echo ' SYMLINK $@' | 176 | @echo ' SYMLINK $@' |
177 | ifneq ($(KBUILD_SRC),) | 177 | ifneq ($(KBUILD_SRC),) |
178 | $(Q)mkdir -p $(objtree)/include/asm-um | 178 | $(Q)mkdir -p $(objtree)/include/asm-um |
179 | $(Q)ln -fsn $(srctree)/include/asm-$(SUBARCH) include/asm-um/arch | 179 | $(Q)ln -fsn $(srctree)/include/asm-$(HEADER_ARCH) include/asm-um/arch |
180 | else | 180 | else |
181 | $(Q)cd $(TOPDIR)/include/asm-um && ln -sf ../asm-$(SUBARCH) arch | 181 | $(Q)cd $(TOPDIR)/include/asm-um && ln -sf ../asm-$(HEADER_ARCH) arch |
182 | endif | 182 | endif |
183 | 183 | ||
184 | $(objtree)/$(ARCH_DIR)/include: | 184 | $(objtree)/$(ARCH_DIR)/include: |
@@ -232,4 +232,4 @@ $(ARCH_DIR)/include/kern_constants.h: $(objtree)/$(ARCH_DIR)/include | |||
232 | @echo ' SYMLINK $@' | 232 | @echo ' SYMLINK $@' |
233 | $(Q)ln -sf ../../../include/asm-um/asm-offsets.h $@ | 233 | $(Q)ln -sf ../../../include/asm-um/asm-offsets.h $@ |
234 | 234 | ||
235 | export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS | 235 | export SUBARCH USER_CFLAGS CFLAGS_NO_HARDENING OS HEADER_ARCH |