]> code.ossystems Code Review - openembedded-core.git/commit
toolchain-scripts: pass env to post-relocate
authorMartin Kelly <mkelly@xevo.com>
Mon, 4 Jun 2018 23:06:00 +0000 (16:06 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Jun 2018 07:52:13 +0000 (08:52 +0100)
commitadcf69ee3310171580c28e141fec6997b1f06da4
tree3d45a3276a591c385f80cd06e91ca8bc527d9003
parent369b5f3f98f8455c79731621cc669ad1948e2022
toolchain-scripts: pass env to post-relocate

It's useful for the post-relocate scripts to be able to see the SDK
environment, for example to see the values of CC, CXX etc. in order to
dynamically generate toolchain files.

To enable this, source the SDK environment script prior to calling the
relocate scripts.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/toolchain-scripts.bbclass
meta/recipes-core/meta/meta-environment.bb