diff options
author | Russell L Friesenhahn <russellf@arlut.utexas.edu> | 2016-08-16 22:07:36 -0500 |
---|---|---|
committer | Russell L Friesenhahn <russellf@arlut.utexas.edu> | 2016-08-26 11:14:24 -0500 |
commit | 23f217b1668415009a7a842b66012686c2f2d5b0 (patch) | |
tree | 13741a9d9c8780d8a7dec683bc7155da9bde3538 /Makefile | |
parent | 6523023645bd2227cac68f46364dff3867d9641a (diff) | |
download | yosys-23f217b1668415009a7a842b66012686c2f2d5b0.tar.gz yosys-23f217b1668415009a7a842b66012686c2f2d5b0.tar.bz2 yosys-23f217b1668415009a7a842b66012686c2f2d5b0.zip |
Allow redefining of the ABC repository URL
For persons or organizations that prefer to keep their own mirrors of
repositories, users may now specify the URL of the ABC Mercurial
repository that yosys clones during build.
The URL may be set in the Makefile directly, on the
command-line, or in the environment
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -84,6 +84,7 @@ OBJS = kernel/version_$(GIT_REV).o # delete your work on ABC.. ABCREV = a86455b00da5 ABCPULL = 1 +ABCURL ?= https://bitbucket.org/alanmi/abc ABCMKARGS = CC="$(CXX)" CXX="$(CXX)" # set ABCEXTERNAL = <abc-command> to use an external ABC instance @@ -387,8 +388,8 @@ ifneq ($(ABCREV),default) fi $(Q) if test "`cd abc 2> /dev/null && hg identify | cut -f1 -d' '`" != "$(ABCREV)"; 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 bitbucket.org:"; set -x; \ - test -d abc || hg clone https://bitbucket.org/alanmi/abc abc; \ + echo "Pulling ABC from $(ABCURL):"; set -x; \ + test -d abc || hg clone $(ABCURL) abc; \ cd abc && $(MAKE) DEP= clean && hg pull && hg update -r $(ABCREV); \ fi endif |