Use custom GCC toolchain
This commit is contained in:
12
Makefile
12
Makefile
@ -17,6 +17,18 @@ prepare:
|
||||
cd limine; \
|
||||
make; \
|
||||
fi
|
||||
if [ ! -d toolchain/binutils-gdb ]; then \
|
||||
cd toolchain; \
|
||||
git clone git://sourceware.org/git/binutils-gdb.git --depth=1; \
|
||||
$(PWD)/scripts/build-binutils-gdb.sh; \
|
||||
cd ..; \
|
||||
fi
|
||||
if [ ! -d toolchain/gcc ]; then \
|
||||
cd toolchain; \
|
||||
git clone https://gcc.gnu.org/git/gcc.git --depth=1; \
|
||||
$(PWD)/scripts/build-gcc.sh; \
|
||||
cd ..; \
|
||||
fi
|
||||
|
||||
cleanall:
|
||||
make clean
|
||||
|
Reference in New Issue
Block a user