2022-10-08 15:35:39 +02:00
|
|
|
#!/usr/bin/env bash
|
2022-09-05 16:13:51 +02:00
|
|
|
set -e
|
|
|
|
|
|
|
|
if ! $(dirname $0)/test-binutils.sh
|
|
|
|
then
|
|
|
|
echo Building Binutils...
|
|
|
|
$(dirname $0)/setup-binutils.sh
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! $(dirname $0)/test-gcc.sh
|
|
|
|
then
|
2023-08-15 15:40:44 +02:00
|
|
|
if ! $(dirname $0)/test-autoconf.sh
|
|
|
|
then
|
|
|
|
echo Building autoconf...
|
|
|
|
$(dirname $0)/setup-autoconf.sh
|
|
|
|
fi
|
|
|
|
|
2022-09-05 16:13:51 +02:00
|
|
|
echo Building GCC..
|
|
|
|
$(dirname $0)/setup-gcc.sh
|
|
|
|
fi
|
|
|
|
|
|
|
|
if ! [ -f $(dirname $0)/../toolchain/dist/mkbootimg ]
|
|
|
|
then
|
|
|
|
echo Building mkbootimg...
|
|
|
|
$(dirname $0)/setup-mkbootimg.sh
|
2023-08-14 11:18:53 +02:00
|
|
|
fi
|