mirror of
https://github.com/italicsjenga/agb.git
synced 2024-12-24 00:31:34 +11:00
Explicitly state the target
This commit is contained in:
parent
d13899f0a2
commit
9ef55b26c5
2
.github/scripts/build-example-gba-files.sh
vendored
2
.github/scripts/build-example-gba-files.sh
vendored
|
@ -12,7 +12,7 @@ function build_rom() {
|
||||||
local GBA_FILE="target/$GAME_NAME.gba"
|
local GBA_FILE="target/$GAME_NAME.gba"
|
||||||
|
|
||||||
pushd "examples/$GAME_NAME"
|
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"
|
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"
|
gbafix -p "-t${INTERNAL_NAME:0:12}" "-c${INTERNAL_NAME:0:4}" -mGC "$GBA_FILE"
|
||||||
|
|
Loading…
Reference in a new issue