Skip to content

RFC Machine specific sysroot implementation

Dongxiao Xu poky 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 2 repliesIn review

Changes from v2 from the cover letter

1) Use the v1 approach to add ${MACHINE} into stamp file, and rebase the patch against latest bitbake which did a merge with upstream. This also can avoid adding unnecessary ${MACHINE} information for native/nativesdk/crosssdk/cross-canadian task stamps.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3staging: Use relative path in sysroot-destdir for target recipesmeta/classes/binconfig.bbclass meta/classes/cross-canadian.bbclass meta/classes/kernel.bbclass +11 more+42 -330 replies
2/3bitbake: Introduce stamp-extra-info into build stamp filebitbake/lib/bb/build.py bitbake/lib/bb/cache.py bitbake/lib/bb/runqueue.py +1 more+45 -162 replies
3/3bitbake: machine specific sysroots implementationmeta/classes/cross-canadian.bbclass meta/classes/cross.bbclass meta/classes/crosssdk.bbclass +8 more+33 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3][RFC] Machine specific sysroot implementation

Hi Richard,

This RFC is the third version of machine specific sysroot implementation. Please help to review.

Testings could pass for qemuppc and mpc8315d-rdb.

However if modify emenlow architecture to be "core2" and test builds for atom-pc and emenlow, it failed due to an libtool sysroot issue, which is stated in another email. But I think we can have a review of the patchset first.

After the libtool sysroot support is enabled, I will test again for atom-pc and emenlow.

Changes from v2:
1) Use the v1 approach to add ${MACHINE} into stamp file, and rebase the patch against latest bitbake which did a merge with upstream. This also can avoid adding unnecessary ${MACHINE} information for native/nativesdk/crosssdk/cross-canadian task stamps.

RFC URL: git://git.pokylinux.org/poky-contrib.git
Branch: dxu4/mach_sysroot_v3
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=dxu4/mach_sysroot_v3

Thanks,
Dongxiao Xu <[email protected]>
---

Dongxiao Xu (3):
staging: Use relative path in sysroot-destdir for target recipes
bitbake: Introduce stamp-extra-info into build stamp file
bitbake: machine specific sysroots implementation

 bitbake/lib/bb/build.py                            |   10 ++-----
 bitbake/lib/bb/cache.py                            |   19 ++++++++++++-
 bitbake/lib/bb/runqueue.py                         |   12 ++++----
 bitbake/lib/bb/siggen.py                           |   20 ++++++++++++-
 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                       |   28 ++++++++++---------
 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 +-
 24 files changed, 119 insertions(+), 61 deletions(-)