toolchain-builder/windows/Makefile

39 lines
779 B
Makefile
Raw Permalink Normal View History

2016-04-14 16:40:54 -04:00
include ../versions.sh
all: clean sysroot binutils gcc gdb tree msi
sysroot:
rm -rf sysroot-*
mkdir sysroot-libc-linux
cd sysroot-libc-linux && tar xf ../../libc6-frc-armel-cross_$(Va_LIBC).orig.tar.bz2
cd sysroot-libc-linux && tar xf ../../linux-libc-dev-frc-armel-cross_$(Va_LINUX).orig.tar.bz2
makes/sysroot
binutils:
tar xf ../binutils-$(V_BINUTILS).tar.bz2
V_BINUTILS=$(V_BINUTILS) makes/binutils
expat-install: expat
expat:
tar xf ../expat-$(Vw_EXPAT).tar.gz
Vw_EXPAT=$(Vw_EXPAT) makes/expat
gdb: expat-install
tar xf ../gdb-$(V_GDB).tar.gz
V_GDB=$(V_GDB) makes/gdb
gcc:
@# gcc does its own extraction
makes/gcc
tree:
V_GCC=$(V_GCC) makes/tree
msi:
makes/msi
clean:
rm -rf binutils* roborio* sysroot* gcc* tree-install msi-build expat* gdb*