]> code.ossystems Code Review - openembedded-core.git/commit
bitbake: machine specific sysroots implementation
authorDongxiao Xu <dongxiao.xu@intel.com>
Tue, 18 Jan 2011 08:18:42 +0000 (16:18 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 25 Jan 2011 12:25:46 +0000 (12:25 +0000)
commit7f41f1a8888a1f7f091101d19b9b0c4787f5a6fc
treeba2afa60ca17a84860545e0c871ffce34b57839a
parentb0df35f47fb79dc149504bd66d1186b3276f9510
bitbake: machine specific sysroots implementation

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>
12 files changed:
meta/classes/bootimg.bbclass
meta/classes/cross-canadian.bbclass
meta/classes/cross.bbclass
meta/classes/crosssdk.bbclass
meta/classes/native.bbclass
meta/classes/nativesdk.bbclass
meta/classes/package.bbclass
meta/classes/siteconfig.bbclass
meta/classes/sstate.bbclass
meta/classes/staging.bbclass
meta/classes/toolchain-scripts.bbclass
meta/conf/bitbake.conf