mirror of https://github.com/thesofproject/sof.git
zephyr/docker-build.sh: give PATH precedence to a local sparse
Adjust PATH to give precedence to any local sparse. New precedence: 1. zephyr-workspace 2. /opt/sparse/bin 3. Anything else in default PATH Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
14b2f89bd4
commit
082cc8fbd1
|
@ -16,8 +16,10 @@ unset ZEPHYR_BASE
|
|||
test -e ./sof/scripts/xtensa-build-zephyr.py
|
||||
|
||||
# See .github/workflows/zephyr.yml
|
||||
PATH="$PATH":/opt/sparse/bin
|
||||
command -v sparse || true
|
||||
# /opt/sparse is the current location in the zephyr-build image.
|
||||
# Give any sparse in the workspace precedence.
|
||||
PATH="$(pwd)"/sparse:/opt/sparse/bin:"$PATH"
|
||||
command -V sparse || true
|
||||
: REAL_CC="$REAL_CC"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue