From 24cabdc4c1f6fcf4f6f30b1d557345690c16ded1 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Wed, 22 Jun 2022 13:41:15 +0200 Subject: [PATCH] xc7/counter_test/Makefile: support F4PGA_USE_DEPRECATED Signed-off-by: Unai Martinez-Corral --- xc7/counter_test/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/xc7/counter_test/Makefile b/xc7/counter_test/Makefile index f537a8a..0d8ba5e 100644 --- a/xc7/counter_test/Makefile +++ b/xc7/counter_test/Makefile @@ -2,7 +2,14 @@ current_dir := ${CURDIR} TOP := top 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 else ifeq ($(TARGET),nexys4ddr) XDC := ${current_dir}/nexys4ddr.xdc @@ -11,13 +18,8 @@ else ifeq ($(TARGET),zybo) SOURCES:=${current_dir}/counter_zynq.v else ifeq ($(TARGET),nexys_video) XDC := ${current_dir}/nexys_video.xdc -else +else ifeq ($(TARGET),basys3) XDC := ${current_dir}/basys3.xdc endif -ifeq ($(TARGET),arty_35) -build: - f4pga build --flow ./flow.json -endif - include ${current_dir}/../../common/common.mk