summaryrefslogtreecommitdiffstats
path: root/arch/um/Makefile
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-08-17 22:54:55 -0400
committerH. Peter Anvin <hpa@zytor.com>2008-10-22 22:55:20 -0700
commit1de1502c96c3c163c06419bfe838c73632fa8d9c (patch)
treec7acd47c699807af44e190b9041d2500ff2b0914 /arch/um/Makefile
parentbb8985586b7a906e116db835c64773b7a7d51663 (diff)
downloadblackbird-op-linux-1de1502c96c3c163c06419bfe838c73632fa8d9c.tar.gz
blackbird-op-linux-1de1502c96c3c163c06419bfe838c73632fa8d9c.zip
x86, um: now we can get rid of trivial uml headers
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'arch/um/Makefile')
-rw-r--r--arch/um/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/Makefile b/arch/um/Makefile
index 4fc79f3030e4..3474b105ee6d 100644
--- a/arch/um/Makefile
+++ b/arch/um/Makefile
@@ -66,6 +66,8 @@ include $(srctree)/$(ARCH_DIR)/Makefile-$(SUBARCH)
#This will adjust *FLAGS accordingly to the platform.
include $(srctree)/$(ARCH_DIR)/Makefile-os-$(OS)
+KBUILD_CPPFLAGS += -I$(srctree)/arch/$(HEADER_ARCH)/include
+
# -Derrno=kernel_errno - This turns all kernel references to errno into
# kernel_errno to separate them from the libc errno. This allows -fno-common
# in KBUILD_CFLAGS. Otherwise, it would cause ld to complain about the two different
OpenPOWER on IntegriCloud