aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2020-05-28 10:00:49 +0000
committerGitHub <noreply@github.com>2020-05-28 10:00:49 +0000
commit2384a59e2adea59c4240a10fc32a865f89a8e047 (patch)
treec2a8af5f715ef2d0db42644439fc883d8865fcc7 /Makefile
parent736ccb2ad5e1aa7b8fff069e294d073195f6a1ac (diff)
parent204e8b6fc63d0abe3e83673d8198fe4ac8d99350 (diff)
downloadyosys-2384a59e2adea59c4240a10fc32a865f89a8e047.tar.gz
yosys-2384a59e2adea59c4240a10fc32a865f89a8e047.tar.bz2
yosys-2384a59e2adea59c4240a10fc32a865f89a8e047.zip
Merge pull request #2051 from Xiretza/makefile-cd-warning
Suppress warning during initial clone of ABC repo
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cd6179879..e589b2b67 100644
--- a/Makefile
+++ b/Makefile
@@ -717,7 +717,7 @@ ifneq ($(ABCREV),default)
echo 'REEBE: NOP pbagnvaf ybpny zbqvsvpngvbaf! Frg NOPERI=qrsnhyg va Lbflf Znxrsvyr!' | tr 'A-Za-z' 'N-ZA-Mn-za-m'; false; \
fi
# set a variable so the test fails if git fails to run - when comparing outputs directly, empty string would match empty string
- $(Q) if ! (cd abc && rev="`git rev-parse $(ABCREV)`" && test "`git rev-parse HEAD`" == "$$rev"); then \
+ $(Q) if ! (cd abc 2> /dev/null && rev="`git rev-parse $(ABCREV)`" && test "`git rev-parse HEAD`" == "$$rev"); then \
test $(ABCPULL) -ne 0 || { echo 'REEBE: NOP abg hc gb qngr naq NOPCHYY frg gb 0 va Znxrsvyr!' | tr 'A-Za-z' 'N-ZA-Mn-za-m'; exit 1; }; \
echo "Pulling ABC from $(ABCURL):"; set -x; \
test -d abc || git clone $(ABCURL) abc; \