summaryrefslogtreecommitdiffstats
path: root/meta/classes/cross.bbclass
Commit message (Collapse)AuthorAgeFilesLines
* cross.bbclass: Move sysroot_stage_all function to the only place that uses ↵Richard Purdie2011-01-261-13/+0
| | | | | | it now (gcc-cross-intermediate) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: machine specific sysroots implementationDongxiao Xu2011-01-251-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* cross.bbclass: make MULTIMACH_TARGET_SYS adjustable for bindir, libdir, ↵Dexuan Cui2011-01-251-3/+4
| | | | | | | | libexecdir This will be used by gcc-cross-initial and gcc-cross-intermediate. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* staging: Use relative path in sysroot-destdir for target recipesDongxiao Xu2011-01-211-0/+2
| | | | | | | | | | Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* bitbake.conf/cross.bbclass: Inject MULTIMACH_TARGET_SYS into the toolchain ↵Richard Purdie2010-07-231-2/+6
| | | | | | paths to prevent multimachine cross contamination Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Finally deprecate all legacy do_stage functions. This changes the existing ↵Richard Purdie2010-07-221-4/+0
| | | | | | | | warning into a fatal error if any legacy do_stage functions are found. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross/cross-canadian.bbclass: Save target_exec_prefix variableRichard Purdie2010-06-081-0/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Fix references to CROSS_DIR now that it has been removedJoshua Lock2010-04-281-1/+1
| | | | | | | CROSS_DIR is no longer removed so fix up classes, packages and documentation which refer to it. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* cross.bbclass: inherit relocatable to post-process cross binariesJoshua Lock2010-04-271-2/+1
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* Install cross-packages into the native sysrootJoshua Lock2010-04-271-3/+3
| | | | | | | | | | | Cross is no longer required so can go away, we now install cross packages into the native sysroot and use them from there. This patch includes updates to classes and some recipes which reference CROSS_DIR. Others still need fixing an image can be built and run with this patch applied. Signed-off-by: Joshua Lock <josh@linux.intel.com>
* cross.bbclass: Note that relocatable binaries disabled for a reasonJoshua Lock2010-02-181-0/+3
| | | | Signed-off-by: Joshua Lock <josh@linux.intel.com>
* cross.bbclass: Set BASEPKG_HOST_SYS to a sane valueRichard Purdie2010-01-141-0/+1
| | | | Signed-off-by: Richard Purdie <richard@rex.(none)>
* gettext.bbclass: Set the gettext dependencies correctly for target, cross ↵Richard Purdie2010-01-051-0/+2
| | | | | | and native packages Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Adjust the core class staging method as all users have been ↵Richard Purdie2009-11-171-4/+4
| | | | | | vetted and won't be affected Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Add defitions of target_*dir variables and improve ↵Richard Purdie2009-11-161-1/+15
| | | | | | sysroot_stage_all to cope with mixed packages as found in cross recipes Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Override the sysroot_stage_all to work appropriately for ↵Richard Purdie2009-11-131-0/+8
| | | | | | cross packages Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* Remove layout_* variablesRichard Purdie2009-09-171-24/+1
| | | | | | | | | | | | Remove layout_* variables and replace them with variables specific to the different classes. The layout variables were only useful for the native/cross classes and caused more confusion than they solved. They didn't scale to the sdk class. It now clear a small set of native/cross variables fulfil the needs. This patch also changes native.bbclass to use "/" as the STAGING_DIR which makes sense since we're installing binaries into the locations we're compiling them for. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* cross.bbclass: Preserve BASE_PACKAGE_ARCH variable when chaging HOST_ARCHRichard Purdie2008-07-191-2/+5
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4894 311d38ba-8fff-0310-9ca6-ca027cbcb966
* cross.bbclass: Set TOOLCHAIN_OPTIONS to an empty value instead of ↵Richard Purdie2007-12-011-12/+1
| | | | | | duplicating compiler variables git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3291 311d38ba-8fff-0310-9ca6-ca027cbcb966
* cross.bbclass: Explicitly set the compiler in the same way as ↵Richard Purdie2007-11-231-0/+13
| | | | | | native.bbclass, otherwise TOOLCHAIN_OPTIONS can interfer git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3212 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Remove hardcoded staging layout assumptionsRichard Purdie2007-11-121-1/+1
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3117 311d38ba-8fff-0310-9ca6-ca027cbcb966
* classes: Sync with OERichard Purdie2007-09-011-2/+2
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2630 311d38ba-8fff-0310-9ca6-ca027cbcb966
* cross.bbclass: Set PACKAGE_ARCH correctly under inherit crossRichard Purdie2006-11-291-0/+4
| | | | git-svn-id: https://svn.o-hand.com/repos/poky/trunk@981 311d38ba-8fff-0310-9ca6-ca027cbcb966
* Rename /openembedded/ -> /meta/Richard Purdie2006-07-211-0/+55
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966