Bug 728

Summary: [meta-toolchain] content missing in the environment files
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Lianhao Lu <lianhao.lu>
Component: coreAssignee: Lianhao Lu <lianhao.lu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: jessica.zhang, liping.ke, meta.mr.watcher, meta.watcher, sgw
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Lianhao Lu 2011-02-16 00:05:05 UTC
The environment files contained in the meta-toolchain lacks the following content:

--with-libtool-sysroot is missing in the environment variable CONFIFURE_FLAGS
--sysroot is missing in the CFLAGS & CXXFLAGS
Comment 1 Lianhao Lu 2011-02-17 22:00:43 UTC
1. Added libtool sysroot related param value into environment files.
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=f09f8f4aa32d134081a5bd8a5cff631a2e7935f7

2. Moved common code between meta-environment.bb and populate_sdk.bbclass into toolchain-script.bbclass.
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=6dc50b17360dfde34d01125a6f9747fcb530be1d

3. Set CONFIG_SITE to correct value for autoconf config site.
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=6f286cccbee282d4e26bbdb820cfb74e434cc900
Comment 2 Lianhao Lu 2011-02-24 17:30:31 UTC
Verified the --with-libtool-sysroot is added to CONFIGURE_FLAGS and --sysroot is added into CFLAGS & CXXFLAGS in the meta-environment files created by meta-environment recipe and meta-toolchain recipe.