Bug 728 - [meta-toolchain] content missing in the environment files
Summary: [meta-toolchain] content missing in the environment files
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 1.0
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.0 M4
Assignee: Lianhao Lu
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2011-02-16 00:05 UTC by Lianhao Lu
Modified: 2011-02-28 11:01 UTC (History)
5 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.