2014-12-24 09:17:57 -06:00
|
|
|
|
|
|
|
OBJS += backends/smt2/smt2.o
|
|
|
|
|
2015-10-13 17:37:41 -05:00
|
|
|
ifneq ($(CONFIG),mxe)
|
|
|
|
ifneq ($(CONFIG),emcc)
|
|
|
|
TARGETS += yosys-smtbmc
|
|
|
|
|
2015-10-13 18:27:55 -05:00
|
|
|
yosys-smtbmc: backends/smt2/smtbmc.py
|
2015-10-13 18:31:54 -05:00
|
|
|
$(P) sed 's|##yosys-sys-path##|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|;' < $< > $@.new
|
2015-10-13 18:27:55 -05:00
|
|
|
$(Q) chmod +x $@.new
|
|
|
|
$(Q) mv $@.new $@
|
2015-10-13 17:37:41 -05:00
|
|
|
|
|
|
|
$(eval $(call add_share_file,share/python3,backends/smt2/smtio.py))
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|