mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
software: share SDRAM linker script
This commit is contained in:
parent
25506c1ab5
commit
c2ec077d8f
2 changed files with 4 additions and 2 deletions
|
@ -15,10 +15,12 @@ all: videomixer.bin videomixer.fbi
|
|||
%.fbi: %.bin
|
||||
$(M2DIR)/tools/mkmmimg $< write $@
|
||||
|
||||
videomixer.elf: linker.ld $(OBJECTS) libs
|
||||
videomixer.elf: $(OBJECTS) libs
|
||||
|
||||
%.elf:
|
||||
$(LD) $(LDFLAGS) -T $< -N -o $@ \
|
||||
$(LD) $(LDFLAGS) \
|
||||
-T $(M2DIR)/software/libbase/linker-sdram.ld \
|
||||
-N -o $@ \
|
||||
$(M2DIR)/software/libbase/crt0.o \
|
||||
$(OBJECTS) \
|
||||
-L$(M2DIR)/software/libbase \
|
||||
|
|
Loading…
Reference in a new issue