add crt0.o to BIOS target list

This commit is contained in:
hhe07 2024-07-22 20:13:47 -06:00
parent c51d22074f
commit 531cf82bdd
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,8 @@ OBJECTS = boot-helper.o \
cmd_litesdcard.o \
cmd_litesata.o \
sim_debug.o \
main.o
main.o \
crt0.o
ifneq "$(or $(BIOS_CONSOLE_NO_AUTOCOMPLETE),$(BIOS_CONSOLE_LITE))" ""
CFLAGS += -DBIOS_CONSOLE_NO_AUTOCOMPLETE
@ -70,7 +71,6 @@ vpath %.a $(PACKAGES:%=../%)
%.elf: crt0.o $(LIBS:%=%.a)
$(CC) $(LDFLAGS) -T $(BIOS_DIRECTORY)/$(LSCRIPT) -N -o $@ \
crt0.o \
$(OBJECTS) \
$(PACKAGES:%=-L../%) \
-Wl,--whole-archive \