projects
/
SymbiYosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055b305
)
Add "mkdir -p" to "make install"
author
Clifford Wolf
<clifford@clifford.at>
Wed, 7 Mar 2018 11:31:56 +0000
(12:31 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Wed, 7 Mar 2018 11:31:56 +0000
(12:31 +0100)
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 2ed7e6755773b256d2dc5f004b095dff08272fda..689db679d45c5b5dd3e25143ef055fa7a7349921 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-15,6
+15,8
@@
help:
@echo ""
install:
+ mkdir -p $(DESTDIR)$(PREFIX)/bin
+ mkdir -p $(DESTDIR)$(PREFIX)/share/yosys/python3
cp sbysrc/sby_*.py $(DESTDIR)$(PREFIX)/share/yosys/python3/
sed 's|##yosys-sys-path##|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|;' < sbysrc/sby.py > $(DESTDIR)$(PREFIX)/bin/sby
chmod +x $(DESTDIR)$(PREFIX)/bin/sby