Luna/tools/setup.sh

20 lines
363 B
Bash
Raw Normal View History

#!/usr/bin/env bash
2022-09-05 14:13:51 +00: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
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