crt0.o should live in the target directory now

This commit is contained in:
Lokathor 2018-11-14 19:55:03 -07:00
parent c6b30a2fc6
commit 19a766a345
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -8,7 +8,7 @@ MEMORY {
SECTIONS {
.text : {
KEEP(crt0.o(.text));
KEEP(target/crt0.o(.text));
*(.text .text.*);
. = ALIGN(4);
} >rom = 0xff