From 46a02c30d372692282f2784870df6fd63c660b10 Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Thu, 25 Aug 2011 10:25:55 +0800 Subject: 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 --- meta/conf/bitbake.conf | 1 + 1 file changed, 1 insertion(+) 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" -- cgit v1.2.3