Alexander von Gluck IV 131f09907e docker/bootstrap: Add a few tools to bootstrap in a container
* The bootstrap process will pick up on local toolchains such
  as clang and use them instead of the correct gcc cross-tools.
* This limits environmental factors which can break bootstrap.

Change-Id: Iacdd2a44cf26e18f838c9251fb9eddfbcb12565e
2018-11-02 15:12:04 -05:00

22 lines
325 B
Bash
Executable File

#!/bin/bash
if [ ! -d $WORKPATH ]; then
echo "$WORKPATH is not available!"
exit 1
fi
if [ ! -d $WORKPATH/src ]; then
echo "$WORKPATH/src is not available!"
exit 1
fi
if [ -z $TARGET_ARCH ]; then
echo "TARGET_ARCH isn't set!"
exit 1
fi
GENERATED=$WORKPATH/generated.$TARGET_ARCH
cd $GENERATED
jam -q @bootstrap-raw