Luna/tools/setup.sh
apio cad0bd8c48
Some checks failed
continuous-integration/drone/push Build is failing
tools: Build autoconf if needed and use it to patch libstdc++
2023-08-14 11:18:53 +02:00

27 lines
475 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if ! $(dirname $0)/test-autoconf.sh
then
echo Building autoconf...
$(dirname $0)/setup-autoconf.sh
fi
if ! $(dirname $0)/test-binutils.sh
then
echo Building Binutils...
$(dirname $0)/setup-binutils.sh
fi
if ! $(dirname $0)/test-gcc.sh
then
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
fi