aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/examples/archcheck/Makefile
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-16 17:22:24 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-17 12:03:16 -0800
commitcc687b3b726d538be4a8dfa6cb8e1b4b96a837e2 (patch)
tree2fe4983c618062fbca9fa2ec3a492df5a6c72714 /fpga_interchange/examples/archcheck/Makefile
parent5a7f83c705d6ea52e9e5bb7b182b32040d15a13a (diff)
downloadnextpnr-cc687b3b726d538be4a8dfa6cb8e1b4b96a837e2.tar.gz
nextpnr-cc687b3b726d538be4a8dfa6cb8e1b4b96a837e2.tar.bz2
nextpnr-cc687b3b726d538be4a8dfa6cb8e1b4b96a837e2.zip
Change makefiles to build a FPGA interchange BBA.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/examples/archcheck/Makefile')
-rw-r--r--fpga_interchange/examples/archcheck/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/fpga_interchange/examples/archcheck/Makefile b/fpga_interchange/examples/archcheck/Makefile
index 8984e1b4..cf82013b 100644
--- a/fpga_interchange/examples/archcheck/Makefile
+++ b/fpga_interchange/examples/archcheck/Makefile
@@ -1,16 +1,16 @@
-NEXTPNR_PATH := $(shell echo ~/cat_x/nextpnr)
-NEXTPNR_BIN := $(NEXTPNR_PATH)/build/nextpnr-fpga_interchange
-BBA_PATH := $(NEXTPNR_PATH)/build/test.bin
+include ../common.mk
PACKAGE := csg324
-.PHONY:
+.PHONY: check check_test_data
-check:
+check: check_test_data
$(NEXTPNR_BIN) \
--chipdb $(BBA_PATH) \
--package $(PACKAGE) \
--test
+
+check_test_data:
$(NEXTPNR_BIN) \
--chipdb $(BBA_PATH) \
--run $(NEXTPNR_PATH)/python/check_arch_api.py