toolchain-avr/arch.linux64.build.bash
2015-04-02 14:38:44 +02:00

25 lines
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.
CFLAGS="-static" CXXFLAGS="-static" LDFLAGS="-static" ./build.all.bash
rm -f *arduino*.tar.bz2 *arduino*.zip
tar -cjvf ./avr-gcc-4.8.1-arduino3-x86_64-pc-linux-gnu.tar.bz2 avr/
tar -cjvf ./avrdude-6.0.1-arduino3-x86_64-pc-linux-gnu.tar.bz2 avrdude-6.0.1/