Skip to content

Improve oe-init-build-env/-memres

Peter Kjellerstedt openembedded-core 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest7 patches 2 repliesIn review
  2. v16 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7oe-init-build-env*: Allow $OEROOT to be predefinedoe-init-build-env oe-init-build-env-memres+18 -140 replies
2/7oe-init-build-env*: Update/correct comment about specifying argumentsoe-init-build-env oe-init-build-env-memres+8 -80 replies
3/7oe-init-build-env*: Remove unnecessary differences between the scriptsoe-init-build-env oe-init-build-env-memres+25 -260 replies
4/7oe-init-build-env*: Make them actually return failuresoe-init-build-env oe-init-build-env-memres+14 -60 replies
5/7oe-buildenv-internal: Add paths to $PATH individuallyscripts/oe-buildenv-internal+8 -30 replies
6/7oe-buildenv-internal: Add variables individually to BB_ENV_EXTRAWHITEscripts/oe-buildenv-internal+21 -50 replies
7/7oe-buildenv-internal: Some clean upscripts/oe-buildenv-internal+24 -220 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCHv2 0/7] Improve oe-init-build-env/-memres

I started looking at the oe-init-build-env (and oe-init-build-env-memres) scripts since I wanted to add support for specifying $OEROOT from the outside. This is because we want to wrap those scripts with our own while keeping the official names (so anyone reading the official Poky documentation will not be too confused).

While fixing the above, I had noticed a number of inconsistencies in the scripts, so I continued to fix those. I also improved the code that adds paths to $PATH, and the code that adds variable names to $BB_ENV_EXTRAWHITE.

New in version 2:

* Make sure oe-init-build-env and oe-init-build-env-memres actually return failures from other scripts they source and call.

//Peter

The following changes since commit 8debfea81e69d038bd2d56314b272cb74f5582ed:

local.conf.sample: Disable prelink by default (2016-03-13 22:09:05 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib pkj/oe-init-build-env
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=pkj/oe-init-build-env

Peter Kjellerstedt (7):
oe-init-build-env*: Allow $OEROOT to be predefined oe-init-build-env*: Update/correct comment about specifying arguments oe-init-build-env*: Remove unnecessary differences between the scripts oe-init-build-env*: Make them actually return failures
oe-buildenv-internal: Add paths to $PATH individually
oe-buildenv-internal: Add variables individually to BB_ENV_EXTRAWHITE
oe-buildenv-internal: Some clean up

 oe-init-build-env            | 51 +++++++++++++++------------
 oe-init-build-env-memres     | 60 ++++++++++++++++++--------------
 scripts/oe-buildenv-internal | 83 ++++++++++++++++++++++++++++----------------
 3 files changed, 114 insertions(+), 80 deletions(-)
Signature · 1 line
2.1.0