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, 12 Jun 2023 20:10:20 +0000 (22:10 +0200)
commit948dc515dc5afca45a233471535e7c463866c9a9
treea3ab265dc98c7cf7970ad3e5a49fc77324f600c7
parent145d485d51330c40deccce8e249a1da4b1c283ca
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>
(cherry picked from commit d87a8aa148ddf93b199a759deb088fff73787025)
Makefile
include/scan.mk
include/toplevel.mk
rules.mk
target/imagebuilder/files/Makefile
target/sdk/files/Makefile
target/toolchain/files/wrapper.sh