From 9ef55b26c53a8f0198232e651dadbc3381b7174c Mon Sep 17 00:00:00 2001 From: GBA bot Date: Sat, 1 Jan 2022 18:58:34 +0000 Subject: [PATCH] Explicitly state the target --- .github/scripts/build-example-gba-files.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/build-example-gba-files.sh b/.github/scripts/build-example-gba-files.sh index 7ccd1c72..7919e023 100755 --- a/.github/scripts/build-example-gba-files.sh +++ b/.github/scripts/build-example-gba-files.sh @@ -12,7 +12,7 @@ function build_rom() { local GBA_FILE="target/$GAME_NAME.gba" pushd "examples/$GAME_NAME" - cargo build --release --verbose + cargo build --release --verbose --target thumbv4t-none-eabi arm-none-eabi-objcopy -O binary "target/thumbv4t-none-eabi/release/$GAME_NAME" "$GBA_FILE" gbafix -p "-t${INTERNAL_NAME:0:12}" "-c${INTERNAL_NAME:0:4}" -mGC "$GBA_FILE"