diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-11-13 15:49:42 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-11-13 15:49:42 +0100 |
commit | f3345bd3b40a32aef80ae2920183c5f2fea02b21 (patch) | |
tree | 29432f2c1639a40d380389dec51e68c07b6c53ad /Makefile | |
parent | a694324a75275d21a674f0a4a3b3537ea8c19c0e (diff) | |
download | yosys-f3345bd3b40a32aef80ae2920183c5f2fea02b21.tar.gz yosys-f3345bd3b40a32aef80ae2920183c5f2fea02b21.tar.bz2 yosys-f3345bd3b40a32aef80ae2920183c5f2fea02b21.zip |
Improved building of yosys-abc
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -27,6 +27,7 @@ GIT_REV := $(shell git rev-parse --short HEAD || echo UNKOWN) OBJS = kernel/version_$(GIT_REV).o ABCREV = 0f9e5488ced3 +ABCHGPULL = 1 -include Makefile.conf @@ -97,8 +98,11 @@ yosys-svgviewer: libs/svgviewer/*.h libs/svgviewer/*.cpp cp libs/svgviewer/svgviewer yosys-svgviewer abc: +ifeq ($(ABCHGPULL),1) test -d abc || hg clone https://bitbucket.org/alanmi/abc abc - cd abc && hg pull && hg update -r $(ABCREV) && make + cd abc && hg pull && hg update -r $(ABCREV) +endif + cd abc && $(MAKE) cp abc/abc yosys-abc test: yosys |