mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
BIOS: set TFTP_SERVER_PORT from enviroment
This commit is contained in:
parent
97f381baa6
commit
cb31266500
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue