Merge pull request #327 from antmicro/umarcor/deprecated

xc7/counter_test/Makefile: support F4PGA_USE_DEPRECATED
This commit is contained in:
Tomasz Michalak 2022-06-24 11:03:35 +02:00 committed by GitHub
commit d004fc8b9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

View File

@ -2,7 +2,14 @@ current_dir := ${CURDIR}
TOP := top TOP := top
SOURCES := ${current_dir}/counter.v SOURCES := ${current_dir}/counter.v
ifeq ($(TARGET),arty_100) ifeq ($(TARGET),arty_35)
ifdef F4PGA_USE_DEPRECATED
XDC := ${current_dir}/arty.xdc
else
build:
f4pga build --flow ./flow.json
endif
else ifeq ($(TARGET),arty_100)
XDC := ${current_dir}/arty.xdc XDC := ${current_dir}/arty.xdc
else ifeq ($(TARGET),nexys4ddr) else ifeq ($(TARGET),nexys4ddr)
XDC := ${current_dir}/nexys4ddr.xdc XDC := ${current_dir}/nexys4ddr.xdc
@ -11,13 +18,8 @@ else ifeq ($(TARGET),zybo)
SOURCES:=${current_dir}/counter_zynq.v SOURCES:=${current_dir}/counter_zynq.v
else ifeq ($(TARGET),nexys_video) else ifeq ($(TARGET),nexys_video)
XDC := ${current_dir}/nexys_video.xdc XDC := ${current_dir}/nexys_video.xdc
else else ifeq ($(TARGET),basys3)
XDC := ${current_dir}/basys3.xdc XDC := ${current_dir}/basys3.xdc
endif endif
ifeq ($(TARGET),arty_35)
build:
f4pga build --flow ./flow.json
endif
include ${current_dir}/../../common/common.mk include ${current_dir}/../../common/common.mk