Fix "make ystests" to use correct Yosys binary
authorClifford Wolf <clifford@clifford.at>
Thu, 8 Nov 2018 08:58:47 +0000 (09:58 +0100)
committerClifford Wolf <clifford@clifford.at>
Thu, 8 Nov 2018 08:58:47 +0000 (09:58 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Makefile

index fd708b7de268eb4319ec6daef0983318d89397d4..290a3a50ba5358b69ef30eed1286e58852ba9a38 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -595,7 +595,7 @@ vloghtb: $(TARGETS) $(EXTRA_TARGETS)
 ystests: $(TARGETS) $(EXTRA_TARGETS)
        rm -rf tests/ystests
        git clone https://github.com/YosysHQ/yosys-tests.git tests/ystests
-       +PATH="$$PWD:$$PATH" cd tests/ystests && $(MAKE)
+       +$(MAKE) PATH="$$PWD:$$PATH" -C tests/ystests
        @echo ""
        @echo "  Finished \"make ystests\"."
        @echo ""