diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-02-11 05:39:56 -0500 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2012-03-24 19:29:56 -0400 |
commit | dc5be20a6454312d395dbf07eb2218090a03ae24 (patch) | |
tree | 4569a1f70e868604f4d92af11dba4009ceb64934 /arch/x86 | |
parent | 199eebbae45791af0f37184dd495f16a6cf5c34a (diff) |
um: most of the SUBARCH uses can be killed
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
[richard@nod.at: Re-export SUBARCH in arch/um/Makefile]
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/x86')
-rw-r--r-- | arch/x86/Makefile.um | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86/Makefile.um b/arch/x86/Makefile.um index 36ddec6a41c9..4be406abeefd 100644 --- a/arch/x86/Makefile.um +++ b/arch/x86/Makefile.um | |||
@@ -8,15 +8,11 @@ ELF_ARCH := i386 | |||
8 | ELF_FORMAT := elf32-i386 | 8 | ELF_FORMAT := elf32-i386 |
9 | CHECKFLAGS += -D__i386__ | 9 | CHECKFLAGS += -D__i386__ |
10 | 10 | ||
11 | ifeq ("$(origin SUBARCH)", "command line") | ||
12 | ifneq ("$(shell uname -m | sed -e s/i.86/i386/)", "$(SUBARCH)") | ||
13 | KBUILD_CFLAGS += $(call cc-option,-m32) | 11 | KBUILD_CFLAGS += $(call cc-option,-m32) |
14 | KBUILD_AFLAGS += $(call cc-option,-m32) | 12 | KBUILD_AFLAGS += $(call cc-option,-m32) |
15 | LINK-y += $(call cc-option,-m32) | 13 | LINK-y += $(call cc-option,-m32) |
16 | 14 | ||
17 | export LDFLAGS | 15 | export LDFLAGS |
18 | endif | ||
19 | endif | ||
20 | 16 | ||
21 | # First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y. | 17 | # First of all, tune CFLAGS for the specific CPU. This actually sets cflags-y. |
22 | include $(srctree)/arch/x86/Makefile_32.cpu | 18 | include $(srctree)/arch/x86/Makefile_32.cpu |