]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oe-setup-builddir: Always update templateconf.cfg
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>
Tue, 6 Sep 2022 16:43:35 +0000 (18:43 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Sep 2022 13:55:51 +0000 (14:55 +0100)
commit37c122dfdac03a98bf2bf8c8f7676ec25136d402
tree7f0eb2f03623f9ee431ff2edd21082b3795b73a7
parent49e75009780a09873dc3987ae1c40f2ac95bc667
oe-setup-builddir: Always update templateconf.cfg

The intent of the templateconf.cfg file is to cache the value of
$TEMPLATECONF. To do this, it needs to be updated in case TEMPLATECONF
is manually specified.

Before, the following commands:

  TEMPLATECONF=foo . oe-init-build-env
  TEMPLATECONF=bar . oe-init-build-env
  . oe-init-build-env

would cause the templates in foo to be used for the last source of
oe-init-build-env, while afterwards, bar is used as expected.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/oe-setup-builddir