summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKang Kai <kai.kang@windriver.com>2011-08-25 10:25:55 +0800
committerSaul Wold <sgw@linux.intel.com>2011-08-26 12:31:59 -0700
commit46a02c30d372692282f2784870df6fd63c660b10 (patch)
tree35eac96f951bb4aa5148df5a22787f63bfcd0a24
parent299402832cc461f2db58481ccbb1a3a8ac92a7d0 (diff)
downloadopenembedded-core-46a02c30d372692282f2784870df6fd63c660b10.tar.gz
openembedded-core-46a02c30d372692282f2784870df6fd63c660b10.tar.bz2
openembedded-core-46a02c30d372692282f2784870df6fd63c660b10.zip
bitbake.conf: set includedir_nativesdk
Fixes [Yocto #1231] crosssdk.bbclass uses ${includedir_nativesdk} to define target_includedir, but includedir_nativesdk is not defined before. This makes gcc-crosssdk can NOT search the correct standard headers and libraries search path. Define includedir_nativesdk in bitbake.conf. Signed-off-by: Kang Kai <kai.kang@windriver.com>
-rw-r--r--meta/conf/bitbake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index b30951648d..b3ff0477aa 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -53,6 +53,7 @@ bindir_cross = "/bin"
bindir_crossscripts = "${bindir}/crossscripts"
prefix_nativesdk = "/usr"
bindir_nativesdk = "${prefix_nativesdk}/bin"
+includedir_nativesdk = "${prefix_nativesdk}/include"
libdir_nativesdk = "${prefix_nativesdk}/lib"
base_libdir_nativesdk = "/lib"
localstatedir_nativesdk = "/var"