diff options
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r-- | arch/um/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 28688e6d96d7..55c0661e2b5d 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -28,6 +28,7 @@ ifeq ($(SUBARCH),i386) | |||
28 | endif | 28 | endif |
29 | ifeq ($(SUBARCH),x86_64) | 29 | ifeq ($(SUBARCH),x86_64) |
30 | HEADER_ARCH := x86 | 30 | HEADER_ARCH := x86 |
31 | KBUILD_CFLAGS += -mcmodel=large | ||
31 | endif | 32 | endif |
32 | 33 | ||
33 | HOST_DIR := arch/$(HEADER_ARCH) | 34 | HOST_DIR := arch/$(HEADER_ARCH) |
@@ -50,7 +51,7 @@ KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/um | |||
50 | # | 51 | # |
51 | # These apply to USER_CFLAGS to. | 52 | # These apply to USER_CFLAGS to. |
52 | 53 | ||
53 | KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \ | 54 | KBUILD_CFLAGS += $(CFLAGS) $(CFLAGS-y) -D__arch_um__ \ |
54 | $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \ | 55 | $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap \ |
55 | -Din6addr_loopback=kernel_in6addr_loopback \ | 56 | -Din6addr_loopback=kernel_in6addr_loopback \ |
56 | -Din6addr_any=kernel_in6addr_any -Dstrrchr=kernel_strrchr | 57 | -Din6addr_any=kernel_in6addr_any -Dstrrchr=kernel_strrchr |
@@ -99,7 +100,7 @@ KBUILD_KCONFIG := $(HOST_DIR)/um/Kconfig | |||
99 | 100 | ||
100 | archheaders: | 101 | archheaders: |
101 | $(Q)$(MAKE) -C '$(srctree)' KBUILD_SRC= \ | 102 | $(Q)$(MAKE) -C '$(srctree)' KBUILD_SRC= \ |
102 | ARCH=$(SUBARCH) O='$(objtree)' archheaders | 103 | ARCH=$(HEADER_ARCH) O='$(objtree)' archheaders |
103 | 104 | ||
104 | archprepare: include/generated/user_constants.h | 105 | archprepare: include/generated/user_constants.h |
105 | 106 | ||