projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b679ee
)
Add EXTRA_EXPORTED_RUNTIME_METHODS env for yosysjs
author
jiegec
<noc@jiegec.ac.cn>
Wed, 11 Mar 2020 15:01:04 +0000
(23:01 +0800)
committer
jiegec
<noc@jiegec.ac.cn>
Wed, 11 Mar 2020 15:01:04 +0000
(23:01 +0800)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index 237731baec1f847a2b3417a476d4558ba868b4eb..0eb42e0d6f14191d731a6035186fa440399bddb7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-238,6
+238,7
@@
EMCCFLAGS := -Os -Wno-warn-absolute-paths
EMCCFLAGS += --memory-init-file 0 --embed-file share -s NO_EXIT_RUNTIME=1
EMCCFLAGS += -s EXPORTED_FUNCTIONS="['_main','_run','_prompt','_errmsg']"
EMCCFLAGS += -s TOTAL_MEMORY=134217728
+EMCCFLAGS += -s EXTRA_EXPORTED_RUNTIME_METHODS='["ccall", "cwrap"]'
# https://github.com/kripken/emscripten/blob/master/src/settings.js
CXXFLAGS += $(EMCCFLAGS)
LDFLAGS += $(EMCCFLAGS)