Skip to content

Commit

Permalink
Fix toolchain build script
Browse files Browse the repository at this point in the history
  • Loading branch information
spicyjpeg committed Jan 9, 2024
1 parent b266e29 commit 72b44a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/scripts/build_toolchain.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ GCC_VERSION="13.2.0"
NUM_JOBS="4"

if [ $# -eq 2 ]; then
TARGET_NAME="$1"
PACKAGE_NAME="$2"
PACKAGE_NAME="$1"
TARGET_NAME="$2"
BUILD_OPTIONS=""
elif [ $# -eq 3 ]; then
TARGET_NAME="$1"
PACKAGE_NAME="$2"
PACKAGE_NAME="$1"
TARGET_NAME="$2"
BUILD_OPTIONS="--build=x86_64-linux-gnu --host=$3"
else
echo "Usage: $0 <package name> <target triplet> [host triplet]"
Expand Down

0 comments on commit 72b44a1

Please sign in to comment.