Skip to content

Commit

Permalink
Add env variable HDF_FILE to point to an OOT fpga design.
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Balister <philip@balister.org>
  • Loading branch information
balister committed Jun 3, 2021
1 parent c9c46c8 commit 1a3637d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ build/system_top.hdf: | build
ifeq (1, ${HAVE_VIVADO})
bash -c "source $(VIVADO_SETTINGS) && make -C hdl/projects/$(TARGET) && cp hdl/projects/$(TARGET)/$(TARGET).sdk/system_top.hdf $@"
unzip -l $@ | grep -q ps7_init || cp hdl/projects/$(TARGET)/$(TARGET).srcs/sources_1/bd/system/ip/system_sys_ps7_0/ps7_init* build/
else
ifneq ($(HDF_URL),)
else ifneq ($(HDF_FILE),)
cp $(HDF_FILE) $@
else ifneq ($(HDF_URL),)
wget -T 3 -t 1 -N --directory-prefix build $(HDF_URL)
endif
endif

### TODO: Build system_top.hdf from src if dl fails - need 2016.2 for that ...

Expand Down

0 comments on commit 1a3637d

Please sign in to comment.