clean Makefile

This commit is contained in:
sadullah 2020-06-28 21:23:56 -04:00
parent 9256a4db6d
commit caf520c854
1 changed files with 1 additions and 7 deletions

View File

@ -1,10 +1,6 @@
include ../include/generated/variables.mak include ../include/generated/variables.mak
include $(SOC_DIRECTORY)/software/common.mak include $(SOC_DIRECTORY)/software/common.mak
#ifeq ($(CPU),blackparrot)
#BP_LIBS = -L$(BP_LITEX_SOFTWARE)
#BP_FLAGS = -lgcc
#endif
# Permit TFTP_SERVER_PORT override from shell environment / command line # Permit TFTP_SERVER_PORT override from shell environment / command line
ifdef TFTP_SERVER_PORT ifdef TFTP_SERVER_PORT
CFLAGS += -DTFTP_SERVER_PORT=$(TFTP_SERVER_PORT) CFLAGS += -DTFTP_SERVER_PORT=$(TFTP_SERVER_PORT)
@ -74,9 +70,7 @@ bios.elf: $(BIOS_DIRECTORY)/linker.ld $(OBJECTS)
-L../libliteeth \ -L../libliteeth \
-L../liblitespi \ -L../liblitespi \
-L../liblitesdcard \ -L../liblitesdcard \
$(BP_LIBS) \ -lcompiler_rt -llitedram -lliteeth -llitespi -llitesdcard -lbase-nofloat
-lcompiler_rt -llitedram -lliteeth -llitespi -llitesdcard -lbase-nofloat \
$(BP_FLAGS)
ifneq ($(OS),Windows_NT) ifneq ($(OS),Windows_NT)
chmod -x $@ chmod -x $@