BIOS: set TFTP_SERVER_PORT from enviroment

This commit is contained in:
Ewen McNeill 2018-01-18 13:09:34 +11:00
parent 97f381baa6
commit cb31266500
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
include ../include/generated/variables.mak
include $(SOC_DIRECTORY)/software/common.mak
# Permit TFTP_SERVER_PORT override from shell environment / command line
ifdef TFTP_SERVER_PORT
CFLAGS += -DTFTP_SERVER_PORT=$(TFTP_SERVER_PORT)
endif
OBJECTS=isr.o sdram.o main.o boot-helper-$(CPU).o boot.o
all: bios.bin