toolchain-avr/build.all.bash
2015-03-19 10:28:08 +01:00

47 lines
1.1 KiB
Bash
Executable file

#!/bin/bash -ex
# Copyright (c) 2014-2015 Arduino LLC
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
rm -rf toolsdir avr avrdude-6.0.1
./clean.bash
./tools.bash
./clean.bash
rm -rf objdir*
./clean.bash
./binutils.build.bash
./clean.bash
./gcc.build.bash
./clean.bash
./avr-libc.build.bash
./clean.bash
./gdb.build.bash
./clean.bash
mv objdir avr
mkdir objdir
./clean.bash
./libusb.build.bash
./clean.bash
./avrdude.build.bash
./clean.bash
mv objdir avrdude-6.0.1