diff options
author | Richard Purdie <richard@openedhand.com> | 2008-01-17 14:28:56 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-01-17 14:28:56 +0000 |
commit | d10521316af419f718ae23ae8b489f43674a39ec (patch) | |
tree | 39d64bbfa5f358ab6f1049064475b7685199d6d7 /meta/conf | |
parent | 9a3cb74139956446d88ffabbdd8c6981b94a6532 (diff) | |
download | poky-d10521316af419f718ae23ae8b489f43674a39ec.tar.gz |
sdk.bbclass: Set CPPFLAGS and CFLAGS correctly
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3509 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index e392395d68..1e6fc19b73 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -353,11 +353,13 @@ PATCHRESOLVE = 'user' | |||
353 | ################################################################## | 353 | ################################################################## |
354 | 354 | ||
355 | export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" | 355 | export BUILD_CPPFLAGS = "-isystem${STAGING_INCDIR_NATIVE}" |
356 | BUILDSDK_CPPFLAGS = "-isystem${STAGING_INCDIR}" | ||
356 | export CPPFLAGS = "${TARGET_CPPFLAGS}" | 357 | export CPPFLAGS = "${TARGET_CPPFLAGS}" |
357 | export TARGET_CPPFLAGS = "" | 358 | export TARGET_CPPFLAGS = "" |
358 | #export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${layout_includedir}" | 359 | #export TARGET_CPPFLAGS = "-isystem${STAGING_DIR_TARGET}${layout_includedir}" |
359 | 360 | ||
360 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" | 361 | export BUILD_CFLAGS = "${BUILD_CPPFLAGS} ${BUILD_OPTIMIZATION}" |
362 | BUILDSDK_CFLAGS = "${BUILDSDK_CPPFLAGS} ${BUILD_OPTIMIZATION}" | ||
361 | export CFLAGS = "${TARGET_CFLAGS}" | 363 | export CFLAGS = "${TARGET_CFLAGS}" |
362 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" | 364 | export TARGET_CFLAGS = "${TARGET_CPPFLAGS} ${SELECTED_OPTIMIZATION}" |
363 | 365 | ||