summaryrefslogtreecommitdiffstats
path: root/meta/classes/toolchain-scripts.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* Add OECORE_ACLOCAL_OPTS to env setup scripts for autotool project using ↵Jessica Zhang2011-06-301-0/+3
| | | | | | | | | correct libtool 2.4 (From OE-Core rev: fd383ab8e0a8cc8098f557ffcb097190a495c45e) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Couple minor fixes for the OECORE renameJessica Zhang2011-05-181-3/+3
| | | | | | | (From OE-Core rev: b5cfa911ed80a7e57ae1025b9e365f4678acf491) Signed-off-by: Jessica Zhang <jessica.zhang@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* POKY_NATIVE_SYSROOT -> OECORE_NATIVE_SYSROOTRichard Purdie2011-04-211-3/+3
| | | | | | (From OE-Core rev: c056aeaa13549b404088e3d465f3b03443e5ab88) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-scripts.bbclass: Added --sysroot to CPPFLAGS.Lianhao Lu2011-03-181-0/+2
| | | | | | | | | | [YOCTO #908] Added CPPFLAGS into the environment file and added --sysroot to it. (From OE-Core rev: 360daf019101d9b4d08ab1e3d279b08c02e9749e) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-script.bbclass: Added --sysroot to LDFLAGS.Lianhao Lu2011-03-061-0/+2
| | | | | | | | | | [YOCTO #808] Added --sysroot to LDFALGS in environment files. (From OE-Core rev: a3a7aed9cca5765f106762cbcd9efbf4f1fccf9f) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* toolchain-script/populate_sdk/meta-toolchain: moving common code.Lianhao Lu2011-02-171-0/+24
| | | | | | | moving common code between populate_sdk.bbclass and meta-environment.bb into toolchain-script.bbclass. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* toolchain-scripts.bbclass: Added libtool sysroot support.Lianhao Lu2011-02-171-6/+4
| | | | | | Added missing --with-libtool-sysroot and --sysroot in environment files. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* bitbake: machine specific sysroots implementationDongxiao Xu2011-01-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit changes the sysroots path to be machine specific. Changes includes: 1) STAGING_DIR_TARGET and STRAGING_DIR_HOST points to machine specific paths. 2) task stamp files. Adding ${MACHINE} info into stamp files for do_populate_sysroots and do_package tasks. Add a BB_STAMPTASK_BLACKLIST to keep native, nativesdk, crosssdk, and cross-canadian stamp unchanged. 3) siteconfig path. Separate the site config path for different machines to avoid one machine adopting the cache file of another machine. 4) sstate. Add machine name to sstate manifest file. Change relocation code for sstate paths since sysroot is machine. Keep native, nativesdk, crosssdk, and cross-canadian unchanged. 5) toolchain scripts. Change the environment path to point to machine specific sysroots in toolchain scripts bbclass. 6) Relocate la files when populating to a different machine of the same architecture. 7) Exclude STAGING_DIR_TARGET and STAGING_DIR_HOST parameter from sstate siginfo since they contain ${MACHINE} information. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* meta-environment: Remove c++ include dir from CXXFLAGS.Lianhao Lu2011-01-121-1/+1
| | | | | | | [BUGID #651]. c++ include dir is no longer needed in the environment files due to commit f13cb20. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* meta-environment: Added package of meta-environment-${TARGET_ARCH} forLianhao Lu2010-12-211-0/+30
| | | | | | | | | | | | environment files. [BUGID #565] Fixing bug #565, added package of meta-environment-${TARGET_ARCH} for environment files used by cross-canadian toolchain. Also corrected the situation of empty config site file for target. Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
* Revert "meta-toolchain: Update the way ld.so.cache is handled"Richard Purdie2010-10-141-4/+0
| | | | | | | This change didn't work as expected as ld.so.cache doesn't preseve any search path ordering, therefore revert the change. This reverts commit b2c3ce6d17520d43b10777dd306449876cb40819.
* meta-toolchain: Update the way ld.so.cache is handledRichard Purdie2010-10-131-0/+4
| | | | | | | | Fix the library search path so that libs in the toolchain in /opt/ have priority over those in base system but ones from the base system can still be found. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* meta-ide-support: Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATHDongxiao Xu2010-09-221-2/+2
| | | | | | | | | Fix PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH to make them point to the correct directory path. This fixes [BUGID #340]. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
* toolchain-scripts: Add POKY_TARGET_SYSROOT variable for SDK usageRichard Purdie2010-09-161-0/+2
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* toolchain-scripts: Export TARGET_PREFIX and GDB variables for SDK usageRichard Purdie2010-09-161-0/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* toolchain-scripts: export extra variables for use by scriptsJoshua Lock2010-09-071-2/+5
| | | | | | | | | | | Export the location of the native sysroot for use in the scripts to determine the location of native binaries. Also add a POKY_DISTRO_VERSION to the external toolchain environment as a method of determining if we're running under a build directory or not i.e. not if the variable is empty Signed-off-by: Joshua Lock <josh@linux.intel.com>
* toolchain-scripts.bbclass: inherit siteinfoKevin Tian2010-08-311-0/+2
| | | | | | or else 'siteinfo_get_files undefined' error occurs Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* meta-ide-support: A dummy recipe to install everthing for target developmentJoshua Lock2010-08-111-0/+51
Move the environment-setup script generation into a separate class and adapt meta-toolchain to use it. Add a new dummy target, meta-ide-support, to install an appropriately configured script to TMPDIR and ensure all of the required packages for target development are available. Signed-off-by: Joshua Lock <josh@linux.intel.com>