diff options
author | Ruben Undheim <ruben.undheim@gmail.com> | 2018-07-27 18:46:13 +0000 |
---|---|---|
committer | Ruben Undheim <ruben.undheim@gmail.com> | 2018-07-27 20:57:41 +0200 |
commit | c7b22787c312cb6253728c20c1f5509e3b485988 (patch) | |
tree | 3d0031707e224b3128d42be3607f47ff7678a92e | |
parent | 9c9f331ce62f070acb7821f55bff36ce85624806 (diff) |
Fix adding of sys.path in yosys-smtbmc
Gbp-Pq: Name 0010-Fix-adding-of-sys.path-in-yosys-smtbmc.patch
-rw-r--r-- | backends/smt2/Makefile.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/smt2/Makefile.inc b/backends/smt2/Makefile.inc index eacda273..f98e6104 100644 --- a/backends/smt2/Makefile.inc +++ b/backends/smt2/Makefile.inc @@ -6,7 +6,7 @@ ifneq ($(CONFIG),emcc) TARGETS += yosys-smtbmc yosys-smtbmc: backends/smt2/smtbmc.py - $(P) sed 's|##yosys-sys-path##|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|;' < $< > $@.new + $(P) sed 's|##yosys-sys-path##|sys.path += ["/usr/share/yosys"]|;' < $< > $@.new $(Q) chmod +x $@.new $(Q) mv $@.new $@ |