mirror of https://github.com/YosysHQ/yosys.git
Improved building of yosys-abc
This commit is contained in:
parent
a694324a75
commit
f3345bd3b4
6
Makefile
6
Makefile
|
@ -27,6 +27,7 @@ GIT_REV := $(shell git rev-parse --short HEAD || echo UNKOWN)
|
||||||
OBJS = kernel/version_$(GIT_REV).o
|
OBJS = kernel/version_$(GIT_REV).o
|
||||||
|
|
||||||
ABCREV = 0f9e5488ced3
|
ABCREV = 0f9e5488ced3
|
||||||
|
ABCHGPULL = 1
|
||||||
|
|
||||||
-include Makefile.conf
|
-include Makefile.conf
|
||||||
|
|
||||||
|
@ -97,8 +98,11 @@ yosys-svgviewer: libs/svgviewer/*.h libs/svgviewer/*.cpp
|
||||||
cp libs/svgviewer/svgviewer yosys-svgviewer
|
cp libs/svgviewer/svgviewer yosys-svgviewer
|
||||||
|
|
||||||
abc:
|
abc:
|
||||||
|
ifeq ($(ABCHGPULL),1)
|
||||||
test -d abc || hg clone https://bitbucket.org/alanmi/abc abc
|
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
|
cp abc/abc yosys-abc
|
||||||
|
|
||||||
test: yosys
|
test: yosys
|
||||||
|
|
Loading…
Reference in New Issue