Skip to content

Commit

Permalink
zephyr/docker-build.sh: pass arguments through to xtensa-build-zephyr.sh
Browse files Browse the repository at this point in the history
Allows passing compilation flags and any other argument.

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and lgirdwood committed Sep 9, 2021
1 parent 88327f6 commit a0ab594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zephyr/docker-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ sudo apt-get update
sudo apt-get -y install tree

if test -e zephyrproject; then
./scripts/xtensa-build-zephyr.sh -a
./scripts/xtensa-build-zephyr.sh -a "$@"
else
# Matches docker.io/zephyrprojectrtos/zephyr-build:latest gid
ls -ln | head
stat .
sudo chgrp -R 1000 .
sudo chmod -R g+rwX .
./scripts/xtensa-build-zephyr.sh -a -c
./scripts/xtensa-build-zephyr.sh -a -c "$@"
fi

0 comments on commit a0ab594

Please sign in to comment.