mirror of
https://github.com/italicsjenga/gba.git
synced 2025-01-23 07:56:33 +11:00
crt0.o should live in the target directory now
This commit is contained in:
parent
c6b30a2fc6
commit
19a766a345
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
|
||||
@rem Build the crt0 file before we begin
|
||||
arm-none-eabi-as crt0.s -o crt0.o
|
||||
@if not exist ".\target" mkdir target
|
||||
arm-none-eabi-as crt0.s -o target/crt0.o
|
||||
|
||||
@rem Build all examples, both debug and release
|
||||
cargo xbuild --examples --target thumbv4-none-agb.json
|
||||
|
|
|
@ -8,7 +8,7 @@ MEMORY {
|
|||
|
||||
SECTIONS {
|
||||
.text : {
|
||||
KEEP(crt0.o(.text));
|
||||
KEEP(target/crt0.o(.text));
|
||||
*(.text .text.*);
|
||||
. = ALIGN(4);
|
||||
} >rom = 0xff
|
||||
|
|
Loading…
Add table
Reference in a new issue