sharprom-compatible.conf: override compiler flags to make it find the STAGING area
authorMichael Lauer <mickey@vanille-media.de>
Sun, 22 Oct 2006 13:30:07 +0000 (13:30 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sun, 22 Oct 2006 13:30:07 +0000 (13:30 +0000)
conf/distro/sharprom-compatible.conf

index cc5a8e7..9d4fd4c 100644 (file)
@@ -17,6 +17,9 @@ TARGET_CC_ARCH = "-march=armv4"
 FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -O2"
 OEINCLUDELOGS = "yes"
 KERNEL_CONSOLE = "tty1"
+# prebuilt toolchain doesn't now about -isystem
+export BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include"
+export TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include"
 #DEBUG_OPTIMIZATION = "-O -g3"
 #DEBUG_BUILD = "1"