diff options
Diffstat (limited to 'arch/um')
-rw-r--r-- | arch/um/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile index 097091059aaa..133f7de2a13d 100644 --- a/arch/um/Makefile +++ b/arch/um/Makefile | |||
@@ -66,7 +66,9 @@ USER_CFLAGS = $(patsubst $(KERNEL_DEFINES),,$(patsubst -D__KERNEL__,,\ | |||
66 | include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS) | 66 | include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS) |
67 | 67 | ||
68 | KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/include \ | 68 | KBUILD_CPPFLAGS += -I$(srctree)/$(HOST_DIR)/include \ |
69 | -I$(HOST_DIR)/include/generated | 69 | -I$(srctree)/$(HOST_DIR)/include/uapi \ |
70 | -I$(HOST_DIR)/include/generated \ | ||
71 | -I$(HOST_DIR)/include/generated/uapi | ||
70 | 72 | ||
71 | # -Derrno=kernel_errno - This turns all kernel references to errno into | 73 | # -Derrno=kernel_errno - This turns all kernel references to errno into |
72 | # kernel_errno to separate them from the libc errno. This allows -fno-common | 74 | # kernel_errno to separate them from the libc errno. This allows -fno-common |