mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
add crt0.o to BIOS target list
This commit is contained in:
parent
c51d22074f
commit
531cf82bdd
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,8 @@ OBJECTS = boot-helper.o \
|
||||||
cmd_litesdcard.o \
|
cmd_litesdcard.o \
|
||||||
cmd_litesata.o \
|
cmd_litesata.o \
|
||||||
sim_debug.o \
|
sim_debug.o \
|
||||||
main.o
|
main.o \
|
||||||
|
crt0.o
|
||||||
|
|
||||||
ifneq "$(or $(BIOS_CONSOLE_NO_AUTOCOMPLETE),$(BIOS_CONSOLE_LITE))" ""
|
ifneq "$(or $(BIOS_CONSOLE_NO_AUTOCOMPLETE),$(BIOS_CONSOLE_LITE))" ""
|
||||||
CFLAGS += -DBIOS_CONSOLE_NO_AUTOCOMPLETE
|
CFLAGS += -DBIOS_CONSOLE_NO_AUTOCOMPLETE
|
||||||
|
@ -70,7 +71,6 @@ vpath %.a $(PACKAGES:%=../%)
|
||||||
|
|
||||||
%.elf: crt0.o $(LIBS:%=%.a)
|
%.elf: crt0.o $(LIBS:%=%.a)
|
||||||
$(CC) $(LDFLAGS) -T $(BIOS_DIRECTORY)/$(LSCRIPT) -N -o $@ \
|
$(CC) $(LDFLAGS) -T $(BIOS_DIRECTORY)/$(LSCRIPT) -N -o $@ \
|
||||||
crt0.o \
|
|
||||||
$(OBJECTS) \
|
$(OBJECTS) \
|
||||||
$(PACKAGES:%=-L../%) \
|
$(PACKAGES:%=-L../%) \
|
||||||
-Wl,--whole-archive \
|
-Wl,--whole-archive \
|
||||||
|
|
Loading…
Reference in a new issue