diff options
-rw-r--r-- | arch/um/Makefile | 1 | ||||
-rw-r--r-- | arch/um/sys-i386/Makefile | 2 | ||||
-rw-r--r-- | arch/um/sys-x86_64/Makefile | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 15ec6b86054b..b15f6048caae 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -56,6 +56,7 @@ SYS_DIR := $(ARCH_DIR)/include/sysdep-$(SUBARCH) | |||
56 | 56 | ||
57 | CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \ | 57 | CFLAGS += $(CFLAGS-y) -D__arch_um__ -DSUBARCH=\"$(SUBARCH)\" \ |
58 | $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap | 58 | $(ARCH_INCLUDE) $(MODE_INCLUDE) -Dvmap=kernel_vmap |
59 | AFLAGS += $(ARCH_INCLUDE) | ||
59 | 60 | ||
60 | USER_CFLAGS := $(patsubst -I%,,$(CFLAGS)) | 61 | USER_CFLAGS := $(patsubst -I%,,$(CFLAGS)) |
61 | USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \ | 62 | USER_CFLAGS := $(patsubst -D__KERNEL__,,$(USER_CFLAGS)) $(ARCH_INCLUDE) \ |
diff --git a/arch/um/sys-i386/Makefile b/arch/um/sys-i386/Makefile index 77c3c4d29f55..cdf6b6d4a069 100644 --- a/arch/um/sys-i386/Makefile +++ b/arch/um/sys-i386/Makefile | |||
@@ -22,8 +22,6 @@ STUB_CFLAGS = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS)) | |||
22 | # why ask why? | 22 | # why ask why? |
23 | $(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS) | 23 | $(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS) |
24 | 24 | ||
25 | $(obj)/stub.o : a_flags = $(STUB_CFLAGS) | ||
26 | |||
27 | subdir- := util | 25 | subdir- := util |
28 | 26 | ||
29 | include arch/um/scripts/Makefile.unmap | 27 | include arch/um/scripts/Makefile.unmap |
diff --git a/arch/um/sys-x86_64/Makefile b/arch/um/sys-x86_64/Makefile index 736d3edec581..32bb7d8219fb 100644 --- a/arch/um/sys-x86_64/Makefile +++ b/arch/um/sys-x86_64/Makefile | |||
@@ -33,8 +33,6 @@ STUB_CFLAGS = -Wp,-MD,$(depfile) $(call unprofile,$(USER_CFLAGS)) | |||
33 | # why ask why? | 33 | # why ask why? |
34 | $(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS) | 34 | $(obj)/stub_segv.o : c_flags = $(STUB_CFLAGS) |
35 | 35 | ||
36 | $(obj)/stub.o : a_flags = $(STUB_CFLAGS) | ||
37 | |||
38 | subdir- := util | 36 | subdir- := util |
39 | 37 | ||
40 | include arch/um/scripts/Makefile.unmap | 38 | include arch/um/scripts/Makefile.unmap |