1#!/bin/bash 2 3if [ ! -d $WORKPATH ]; then 4 echo "$WORKPATH is not available!" 5 exit 1 6fi 7 8if [ ! -d $WORKPATH/src ]; then 9 echo "$WORKPATH/src is not available!" 10 exit 1 11fi 12 13if [ -z $TARGET_ARCH ]; then 14 echo "TARGET_ARCH isn't set!" 15 exit 1 16fi 17 18GENERATED=$WORKPATH/generated.$TARGET_ARCH 19 20cd $GENERATED 21HAIKU_PORTER_EXTRA_OPTIONS="--debug" jam -q @bootstrap-raw 22