projects
/
litex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97f381b
)
BIOS: set TFTP_SERVER_PORT from enviroment
author
Ewen McNeill
<ewen@naos.co.nz>
Thu, 18 Jan 2018 02:09:34 +0000
(13:09 +1100)
committer
Ewen McNeill
<ewen@naos.co.nz>
Thu, 18 Jan 2018 02:09:34 +0000
(13:09 +1100)
litex/soc/software/bios/Makefile
patch
|
blob
|
history
diff --git
a/litex/soc/software/bios/Makefile
b/litex/soc/software/bios/Makefile
index 6fd21dd276e5436e58d2bb1d28082b5772a94b72..25217e11ebe1361edd35d49e353f5781be6841bc 100644
(file)
--- a/
litex/soc/software/bios/Makefile
+++ b/
litex/soc/software/bios/Makefile
@@
-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