aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhasim Syed Mohammed <khasim.mohammed@arm.com>2021-04-27 20:39:27 +0530
committerKhasim Syed Mohammed <khasim.mohammed@arm.com>2021-04-27 20:44:59 +0530
commitd96f290ba0dc256064d9caf476b35ffa1803a1d7 (patch)
tree2e733a5ac4b2b09b0160fed4ecdcc46233ef629a
parent7b01f57b857976e52e8fae374692b37c4d00c1a3 (diff)
core: export scripts from top folderHEADN1SDP-2021.05.26N1SDP-2021.04.26master
If openembedded-core layer is not used then scripts are populated in the top folder, this patch exports the scripts folder for top level. Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com> Change-Id: Ic38c51862cafc5be4f62cdb0bb670e8adcd66e69
-rw-r--r--setup-environment-internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup-environment-internal b/setup-environment-internal
index d2da7da..6bb2a96 100644
--- a/setup-environment-internal
+++ b/setup-environment-internal
@@ -152,7 +152,7 @@ BUILDDIR=$OEROOT/$BUILDDIR
# Clean up PATH, because if it includes tokens to current directories somehow,
# wrong binaries can be used instead of the expected ones during task execution
export PATH=$(echo "${PATH}" | sed 's/\(:.\|:\)*:/:/g;s/^.\?://;s/:.\?$//')
-export PATH="${OEROOT}"/layers/openembedded-core/scripts:"${OEROOT}"/bitbake/bin:"${OEROOT}"/.repo/repo:"${PATH}"
+export PATH="${OEROOT}"/layers/openembedded-core/scripts:"${OEROOT}"/scripts:"${OEROOT}"/bitbake/bin:"${OEROOT}"/.repo/repo:"${PATH}"
#remove duplicate path entries
export PATH=$(echo "$PATH" | awk -F: '{for (i=1;i<=NF;i++) { if ( !x[$i]++ ) printf("%s:",$i); }}' | sed 's/:$//')
# Make sure Bitbake doesn't filter out the following variables from our