aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Ravnborg <sam@ravnborg.org>2010-07-07 00:01:46 +0200
committermaximilian attems <max@stro.at>2010-07-07 14:06:54 +0200
commit28da73a8add68f4abf68c417ac9559acc5d06861 (patch)
tree9925ee6998b0a2e03b6949fe7b16656a9188beac
parent1e2af5b16918993b0c61b3069f1436ffdfcf2983 (diff)
downloadklibc-28da73a8add68f4abf68c417ac9559acc5d06861.tar.gz
[klibc] fix build on native i386
When trying to build klibc on a native i386 box it failed to include asm/posix_types.h This was tracked down to a wrong include path. For x86_64 it was correct. Fix it for i386. This should fix the build problem reported Phil Howard. "FYI basically same patch was done and tested in OpenEmbedded on 2010-07-01" - Andrea Adami <andrea.adami@gmail.com> 6f08923d3024f108b6262258c913573fb6ea78e6 fixed allmost all other unified archs. Signed-off-by: Sam Ravnborg <sam@ravnborg.org> Cc: Phil Howard <kunnskaperen@gmail.com> Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/klibc/arch/i386/MCONFIG3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/klibc/arch/i386/MCONFIG b/usr/klibc/arch/i386/MCONFIG
index ef112a45910b5..1150ecedf7998 100644
--- a/usr/klibc/arch/i386/MCONFIG
+++ b/usr/klibc/arch/i386/MCONFIG
@@ -31,3 +31,6 @@ KLIBCBITSIZE = 32
# calls, and work on the memory models for this architecture
# 96 MB - normal binaries start at 128 MB
KLIBCSHAREDFLAGS = -Ttext 0x06000200
+
+# Asm includes for i386 are in the merged x86 tree
+KLIBCARCHINCFLAGS = -I$(KLIBCKERNELOBJ)/arch/x86/include