software/bios: fix link order to avoid undefined symbol errors
authorGabriel Somlo <gsomlo@gmail.com>
Tue, 19 May 2020 20:20:58 +0000 (16:20 -0400)
committerGabriel Somlo <gsomlo@gmail.com>
Tue, 19 May 2020 20:20:58 +0000 (16:20 -0400)
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
litex/soc/software/bios/Makefile

index 0e288a43bc3c59a239850e0c953db064210114ce..a04a17b30c94b87656c96a6e35cfdb95670f4d0a 100755 (executable)
@@ -72,7 +72,7 @@ bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS)
                -L../libliteeth \
                -L../liblitesdcard \
                $(BP_LIBS) \
-               -lcompiler_rt -lbase-nofloat -llitedram -lliteeth -llitesdcard \
+               -lcompiler_rt -llitedram -lliteeth -llitesdcard -lbase-nofloat \
                $(BP_FLAGS)
 
 ifneq ($(OS),Windows_NT)