summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-04 12:53:04 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-04-05 10:49:36 +0100
commit4b15ff6efb6de79fbb7dc98565c451cfb01900be (patch)
tree4b4cac7b665b2c661df606934dd333a2b79ff89b
parent6459a06f2ed7d47f5df0c50d95e182e432311d53 (diff)
downloadpoky-4b15ff6efb6de79fbb7dc98565c451cfb01900be.tar.gz
bitbake.conf: Drop unexports from a different era
A long time ago, we used to pass our parent execution environment into our task environments during build. We stopped doing that for reproducibility and consistency of builds. The variables TARGET_ARCH, DISTRO and MACHINE are not exported into tasks and hence we don't need to unexport them. The resasons these exist is therefore no longer relavent and they can be removed. This happens to improve bitbake -e output from a user commandline perspective. (From OE-Core rev: 8e97ff1560bd563251405cd92b6ccf5c9fcecf4b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/bitbake.conf13
1 files changed, 0 insertions, 13 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 3b8760a3f8..3fa2bee053 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -915,19 +915,6 @@ SERIAL_CONSOLES ??= "${@d.getVar('SERIAL_CONSOLE').replace(' ', ';')}"
915NO_RECOMMENDATIONS ??= "" 915NO_RECOMMENDATIONS ??= ""
916BAD_RECOMMENDATIONS ?= "" 916BAD_RECOMMENDATIONS ?= ""
917 917
918# Make sure MACHINE isn't exported
919# (breaks binutils at least)
920MACHINE[unexport] = "1"
921
922# Make sure TARGET_ARCH isn't exported
923# (breaks Makefiles using implicit rules, e.g. quilt, as GNU make has this
924# in them, undocumented)
925TARGET_ARCH[unexport] = "1"
926
927# Make sure DISTRO isn't exported
928# (breaks sysvinit at least)
929DISTRO[unexport] = "1"
930
931# Make sure SHELL isn't exported 918# Make sure SHELL isn't exported
932# (can break any number of things if the user's shell isn't POSIX-compliant, 919# (can break any number of things if the user's shell isn't POSIX-compliant,
933# including the flock command). The user's shell shouldn't affect our builds. 920# including the flock command). The user's shell shouldn't affect our builds.