mirror of
https://review.haiku-os.org/haiku
synced 2025-02-07 14:25:58 +01:00
* 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
22 lines
325 B
Bash
Executable File
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
|