forked from M-Labs/artiq
runtime/makefile: specify emulation, flip endianness
This commit is contained in:
parent
c42adfe6fd
commit
7f0bc9f7f0
@ -21,10 +21,11 @@ runtime.elf: $(RUSTOUT)/libruntime.a ksupport_data.o
|
||||
-lunwind-bare
|
||||
|
||||
ksupport_data.o: ../ksupport/ksupport.elf
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
$(LD) -m elf32lriscv -b binary -o $@ $<
|
||||
|
||||
%.bin: %.elf
|
||||
$(objcopy) -O binary
|
||||
|
||||
%.fbi: %.bin
|
||||
$(mscimg) -f
|
||||
$(mscimg) -f --little
|
||||
objcopy -I binary -O binary --reverse-bytes=4 $@
|
||||
|
Loading…
Reference in New Issue
Block a user