RFC Machine specific sysroot implementation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 RFC Latest5 patches 5 repliesIn review
- v2 RFC3 patches 3 repliesSuperseded
- v1 RFC2 patches 0 repliesSuperseded
Changes in v4 from the cover letter
1) Make bb.build.stampfile() to be the main entry point so most users will be converted to use that, thus the datacache vs d handling code can be only contained in stamp_internal() which calls into siggen. Besides, using True/False to replace 1/0 in the patch.
2) When doing populate_sysroot, some la files need to be relocated. 0002 patch changes the relocation handling in destination dirs ("sysroot-destdirs" dirs) instead of source ("image" dirs). This ensures that, contents in "image" directory are not changed and when populating the second machine, the "sed" command can still find those key words.
3) Change emenlow's BASE_PACKAGE_ARCH and PACKAGE_EXTRA_ARCHS to be core2.
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | staging: Use relative path in sysroot-destdir for target recipesmeta/ meta/ meta/ +11 more | +42 | 3 replies | |
| 2/5 | staging: relocate *.la paths in destination dirsmeta/ | +4 | 1 reply | |
| 3/5 | bitbake: Introduce stamp-extra-info into build stamp filebitbake/ bitbake/ bitbake/ +2 more | +48 | 1 reply | |
| 4/5 | bitbake: machine specific sysroots implementationmeta/ meta/ meta/ +8 more | +35 | 0 replies | |
| 5/5 | emenlow: Change PACKAGE_EXTRA_ARCHS and BASE_PACKAGE_ARCH to core2meta-emenlow/ | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH 0/5][RFC v4] Machine specific sysroot implementation
Hi Richard,
This RFC is the 4th version of machine specific sysroot implementation. Please help to review.
I tested the build of "poky-image-sdk" and "meta-toolchain-sdk" for atom-pc and emenlow in the same build directory if change emenlow's architecture to core2, and the test could be passed.
Changes from v3:
1) Make bb.build.stampfile() to be the main entry point so most users will be converted to use that, thus the datacache vs d handling code can be only contained in stamp_internal() which calls into siggen. Besides, using True/False to replace 1/0 in the patch.
2) When doing populate_sysroot, some la files need to be relocated. 0002 patch changes the relocation handling in destination dirs ("sysroot-destdirs" dirs) instead of source ("image" dirs). This ensures that, contents in "image" directory are not changed and when populating the second machine, the "sed" command can still find those key words.
3) Change emenlow's BASE_PACKAGE_ARCH and PACKAGE_EXTRA_ARCHS to be core2.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: dxu4/mach_sysroot_v4
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/mach_sysroot_v4
Thanks,
Dongxiao Xu <[email protected]>
---
Dongxiao Xu (5):
staging: Use relative path in sysroot-destdir for target recipes
staging: relocate *.la paths in destination dirs
bitbake: Introduce stamp-extra-info into build stamp file
bitbake: machine specific sysroots implementation
emenlow: Change PACKAGE_EXTRA_ARCHS and BASE_PACKAGE_ARCH to core2
bitbake/lib/bb/build.py | 14 +++----- bitbake/lib/bb/cache.py | 19 +++++++++- bitbake/lib/bb/runqueue.py | 12 +++--- bitbake/lib/bb/siggen.py | 20 +++++++++- meta-emenlow/conf/machine/emenlow.conf | 6 ++-- meta/classes/base.bbclass | 2 +- meta/classes/binconfig.bbclass | 6 ++-- meta/classes/cross-canadian.bbclass | 5 ++- meta/classes/cross.bbclass | 5 +++ meta/classes/crosssdk.bbclass | 2 + meta/classes/kernel.bbclass | 2 +- meta/classes/native.bbclass | 4 ++ meta/classes/nativesdk.bbclass | 7 +++- meta/classes/package.bbclass | 1 + meta/classes/siteconfig.bbclass | 11 +++--- meta/classes/sstate.bbclass | 6 ++- meta/classes/staging.bbclass | 37 +++++++++++-------- meta/classes/toolchain-scripts.bbclass | 4 +- meta/conf/bitbake.conf | 11 +++--- meta/recipes-connectivity/gupnp/gupnp_0.14.0.bb | 4 +- .../gcc/gcc-cross-intermediate.inc | 3 ++ meta/recipes-devtools/libtool/libtool-cross_2.4.bb | 4 +- .../libtool/libtool-nativesdk_2.4.bb | 4 +- meta/recipes-devtools/libtool/libtool_2.4.bb | 6 ++-- meta/recipes-gnome/gtk+/gtk+.inc | 4 +- meta/recipes-support/apr/apr_1.3.3.bb | 2 +- 26 files changed, 131 insertions(+), 70 deletions(-)