bios: Declare dependency on linked in .a files.

This commit is contained in:
Tim 'mithro' Ansell 2017-09-25 19:32:55 +10:00
parent d95d561737
commit 07a9df3586
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ all: bios.bin
bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS) bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS)
%.elf: %.elf: ../libbase/crt0-$(CPU).o ../libnet/libnet.a ../libbase/libbase-nofloat.a ../libcompiler_rt/libcompiler_rt.a
$(LD) $(LDFLAGS) -T $< -N -o $@ \ $(LD) $(LDFLAGS) -T $(BIOS_DIRECTORY)/linker.ld -N -o $@ \
../libbase/crt0-$(CPU).o \ ../libbase/crt0-$(CPU).o \
$(OBJECTS) \ $(OBJECTS) \
-L../libnet \ -L../libnet \