Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Excluded invalid filename 'aux.c' in Windows env
  • Loading branch information
cmaglie committed Jun 1, 2016
commit 24256c80740b4228e1f0b21b1237fb9fb9bfe410
9 changes: 8 additions & 1 deletion avr-libc.build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ then
wget http://distribute.atmel.no/tools/opensource/Atmel-AVR-GNU-Toolchain/3.5.2/avr-libc.tar.bz2
fi

tar xfv avr-libc.tar.bz2
if [[ $OS == "Msys" || $OS == "Cygwin" ]] ; then
# filename containing "aux" are not allowed in Windows environments
# let's just exclude it since it's only a test
EXCLUDE="--exclude=aux.c"
else
EXCLUDE=""
fi
tar xfv avr-libc.tar.bz2 $EXCLUDE

cd libc/avr-libc
for p in ../../avr-libc-patches/*.patch; do echo Applying $p; patch --binary -p1 < $p; done
Expand Down