summaryrefslogtreecommitdiff
path: root/conf/distro
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2006-10-22 13:30:07 +0000
committerMichael Lauer <mickey@vanille-media.de>2006-10-22 13:30:07 +0000
commitb5f7c44a4fb51270a4390cff9cd42a77db78224e (patch)
tree9aeb6725f2fb7e12f061f69381732cd515bee30b /conf/distro
parent18cd5fdfe971d1054e00036215b7989bf3444115 (diff)
sharprom-compatible.conf: override compiler flags to make it find the STAGING area
Diffstat (limited to 'conf/distro')
-rw-r--r--conf/distro/sharprom-compatible.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/conf/distro/sharprom-compatible.conf b/conf/distro/sharprom-compatible.conf
index cc5a8e747b..9d4fd4c338 100644
--- a/conf/distro/sharprom-compatible.conf
+++ b/conf/distro/sharprom-compatible.conf
@@ -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"