Skip to content

Commit

Permalink
Allow to specify the target chipset as arguments to build_hex.sh :)
Browse files Browse the repository at this point in the history
  • Loading branch information
Youness Alaoui committed Oct 16, 2010
1 parent 8273fcd commit 804edb5
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion build_hex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,21 @@ mhz_clock[$openkubus]=8
name[$openkubus]="OpenKubus"


while [ "x$1" != "x" ]; do
targets="$targets ${!1}"
shift
done
if [ "x$targets" == "x" ]; then
for i in {0..11}; do
targets="$targets $i"
done
fi

rm -rf psgroove_hex/
mkdir psgroove_hex
make clean

for target in {0..11}; do
for target in ${targets}; do
for firmware in 3.01 3.10 3.15 3.41 ; do
firmware=${firmware/./_}
low_board=`echo ${board[$target]} | awk '{print tolower($0)}'`
Expand Down

0 comments on commit 804edb5

Please sign in to comment.