diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:06:29 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:15:04 -0400 |
commit | 7bbe7204e93734fe79d8aac3e08a7cb4624b5004 (patch) | |
tree | aef04472a8f1fa0e6cc43916b8f9165bceb753a0 /arch/um/Makefile | |
parent | a6e77d6c74fa82675b087a79c8a145cae7c58f36 (diff) |
um: merge Makefile-{i386,x86_64}
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index bd0587e5c466..7492ee5837c4 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -20,8 +20,18 @@ core-y += $(ARCH_DIR)/kernel/ \ | |||
20 | 20 | ||
21 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas | 21 | MODE_INCLUDE += -I$(srctree)/$(ARCH_DIR)/include/shared/skas |
22 | 22 | ||
23 | HEADER_ARCH := $(SUBARCH) | ||
24 | |||
25 | # Additional ARCH settings for x86 | ||
26 | ifeq ($(SUBARCH),i386) | ||
27 | HEADER_ARCH := x86 | ||
28 | endif | ||
29 | ifeq ($(SUBARCH),x86_64) | ||
30 | HEADER_ARCH := x86 | ||
31 | endif | ||
32 | |||
23 | include $(srctree)/$(ARCH_DIR)/Makefile-skas | 33 | include $(srctree)/$(ARCH_DIR)/Makefile-skas |
24 | include $(srctree)/$(ARCH_DIR)/Makefile-$(SUBARCH) | 34 | include $(srctree)/$(ARCH_DIR)/Makefile-$(HEADER_ARCH) |
25 | 35 | ||
26 | SHARED_HEADERS := $(ARCH_DIR)/include/shared | 36 | SHARED_HEADERS := $(ARCH_DIR)/include/shared |
27 | ARCH_INCLUDE := -I$(srctree)/$(SHARED_HEADERS) | 37 | ARCH_INCLUDE := -I$(srctree)/$(SHARED_HEADERS) |