treewide: add ORIG_PATH variable
authorMichael Pratt <mcpratt@pm.me>
Thu, 25 May 2023 06:31:17 +0000 (02:31 -0400)
committerPetr Štetiar <ynezz@true.cz>
Mon, 5 Jun 2023 06:31:47 +0000 (08:31 +0200)
commitd87a8aa148ddf93b199a759deb088fff73787025
tree5f96d125bf2f59682c1fd6a8e96d48b80d1d3ead
parent1bad93c42669061b0248ca5cff1d83e399a2ef1a
treewide: add ORIG_PATH variable

Add a variable that stores the original value of $PATH
in the host system's shell, before Make alters it.

This can be useful for when it is necessary
to ignore symlinks and programs made by the build system.

Define this new variable before all instances of
'export PATH:=' or similar.

Signed-off-by: Michael Pratt <mcpratt@pm.me>
Makefile
include/scan.mk
include/toplevel.mk
rules.mk
target/imagebuilder/files/Makefile
target/sdk/files/Makefile
target/toolchain/files/wrapper.sh