Skip to content

Commit

Permalink
allow compile firmware (mac/linux) to be passed clean
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechnobear committed Apr 12, 2016
1 parent a6f063c commit fb6ff0a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions firmware/compile_firmware_linux.sh
Expand Up @@ -7,20 +7,20 @@ make -f Makefile.patch clean
echo "Compiling firmware... ${axoloti_firmware}"
mkdir -p build/obj
mkdir -p build/lst
if ! make ; then
if ! make $1 ; then
exit 1
fi

echo "Compiling firmware flasher..."
cd flasher
mkdir -p flasher_build/lst
mkdir -p flasher_build/obj
make
make $1
cd ..

echo "Compiling firmware mounter..."
cd mounter
mkdir -p mounter_build/lst
mkdir -p mounter_build/obj
make
make $1
cd ..
6 changes: 3 additions & 3 deletions firmware/compile_firmware_osx.sh
Expand Up @@ -7,20 +7,20 @@ make -f Makefile.patch clean

mkdir -p build/obj
mkdir -p build/lst
if ! make ; then
if ! make $1; then
exit 1
fi

echo "Compiling firmware flasher..."
cd flasher
mkdir -p flasher_build/obj
mkdir -p flasher_build/lst
make
make $1
cd ..

echo "Compiling firmware mounter..."
cd mounter
mkdir -p mounter_build/obj
mkdir -p mounter_build/lst
make
make $1
cd ..
2 changes: 1 addition & 1 deletion platform_linux/compile_firmware.sh
Expand Up @@ -8,4 +8,4 @@ export axoloti_firmware=${axoloti_firmware:="$axoloti_release/firmware"}
export axoloti_home=${axoloti_home:="$platformdir/.."}

cd "${axoloti_firmware}"
"${axoloti_firmware}/compile_firmware_linux.sh"
"${axoloti_firmware}/compile_firmware_linux.sh" $1
2 changes: 1 addition & 1 deletion platform_osx/compile_firmware.sh
Expand Up @@ -8,4 +8,4 @@ export axoloti_firmware=${axoloti_firmware:="$axoloti_release/firmware"}
export axoloti_home=${axoloti_home:="$platformdir/.."}

cd "${axoloti_firmware}"
"${axoloti_firmware}/compile_firmware_osx.sh"
"${axoloti_firmware}/compile_firmware_osx.sh" $1

0 comments on commit fb6ff0a

Please sign in to comment.