Skip to content

Commit

Permalink
Build script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
timothyschoen committed Nov 11, 2022
1 parent 6cae0ba commit 5e542e5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions scripts/build_libdaisy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ mkdir -p Heavy/usr/lib
mkdir -p Heavy/usr/utils
mkdir -p Heavy/usr/include

cp $(which make) Heavy/usr/bin/make
cp ./scripts/Makefile Heavy/usr/utils/Makefile
cp -f $(which make) Heavy/usr/bin/make
cp -f ./scripts/Makefile Heavy/usr/utils/Makefile

if [[ "$OSTYPE" == "darwin"* ]]; then

Expand All @@ -29,9 +29,9 @@ echo "Installing packages with Homebrew"
brew install openocd dfu-util
brew install $SCRIPTPATH/gcc-arm-embedded.rb --cask

cp $(which arm-none-eabi-gcc) Heavy/usr/bin/arm-none-eabi-gcc
cp $(which dfu-util) Heavy/usr/bin/dfu-util
cp $(which openocd) Heavy/usr/bin/openocd
cp -f $(which arm-none-eabi-gcc) Heavy/usr/bin/arm-none-eabi-gcc
cp -f $(which dfu-util) Heavy/usr/bin/dfu-util
cp -f $(which openocd) Heavy/usr/bin/openocd

else

Expand Down

0 comments on commit 5e542e5

Please sign in to comment.