Lines Matching refs:TARGET
38 OUTPUT="$PWD/host-$TARGET"
44 [ "$TARGET" = "$HOST" ] && LP="$PWD/host-$HOST/bin:$LP"
49 HOST="$TARGET"
51 LP="$OUTPUT/${RENAME:-$TARGET}-cross/bin:$LP"
52 [ -z "$(PATH="$LP" which $TARGET-cc)" ] &&
53 echo "no $TARGET-cc in $LP" && return
57 OUTPUT="$OUTPUT/${RENAME:-$TARGET}-$TYPE"
60 if [ -e "$OUTPUT.sqf" ] || [ -e "$OUTPUT/bin/$TARGET-cc" ] ||
68 echo === building $TARGET-$TYPE
69 echo -en "\033]2;$TARGET-$TYPE\007"
71 rm -rf build/"$TARGET" "$OUTPUT" &&
74 PATH="$LP" make OUTPUT="$OUTPUT" TARGET="$TARGET" \
80 >> "$OUTPUT/${EXTRASUB:+$TARGET/}include/features.h"
85 for i in "$CONTEXT/$TARGET-"*
87 X="$(echo $i | sed "s@.*/$TARGET-\([^-]*\)@\1@")"
88 ln -sf "$TARGET-$X" "$CONTEXT/$RENAME-$X"
119 TARGET=${PART1}-linux-musl${PART2}
125 TYPE=$TYPE TARGET=$TARGET GCC_CONFIG="$PART3" RENAME="$RENAME" \
224 TARGET=$BOOTSTRAP make_toolchain 2>&1 | tee -a "$OUTPUT/log/$BOOTSTRAP"-host.log