summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorAlan Wu <XrXr@users.noreply.github.com>2020-09-23 03:02:01 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:24 -0400
commit3d87eadf16a086d2f3bec0b556760c0ebfe1e7cd (patch)
tree9a43222482c933b9cd2d53e19d3c83bbb35cd717 /common.mk
parent2eaf55fcf1f7afbd0190e47ffe352b29047e6144 (diff)
Refactor ujit_examples.h generator. Remove dwarfdump dependency
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/common.mk b/common.mk
index e32038b851..1dc7525b92 100644
--- a/common.mk
+++ b/common.mk
@@ -1104,13 +1104,11 @@ incs: $(INSNS) {$(VPATH)}node_name.inc {$(VPATH)}known_errors.inc \
{$(VPATH)}vm_call_iseq_optimized.inc $(srcdir)/revision.h \
$(REVISION_H) \
$(UNICODE_DATA_HEADERS) $(ENC_HEADERS) \
- {$(VPATH)}id.h {$(VPATH)}probes.dmyh {$(VPATH)}ujit_examples.h
+ {$(VPATH)}id.h {$(VPATH)}probes.dmyh
insns: $(INSNS)
-ujit_examples.h: gen_ujit_examples.rb vm.$(OBJEXT)
- $(ECHO) generating $@
- $(Q) $(BASERUBY) $(srcdir)/gen_ujit_examples.rb
+ujit_examples.inc: vm.$(OBJEXT)
id.h: $(tooldir)/generic_erb.rb $(srcdir)/template/id.h.tmpl $(srcdir)/defs/id.def
$(ECHO) generating $@
@@ -15040,7 +15038,7 @@ transient_heap.$(OBJEXT): {$(VPATH)}vm_core.h
transient_heap.$(OBJEXT): {$(VPATH)}vm_debug.h
transient_heap.$(OBJEXT): {$(VPATH)}vm_opts.h
transient_heap.$(OBJEXT): {$(VPATH)}vm_sync.h
-ujit_compile.$(OBJEXT): {$(VPATH)}ujit_examples.h
+ujit_compile.$(OBJEXT): {$(VPATH)}ujit_examples.inc
util.$(OBJEXT): $(hdrdir)/ruby.h
util.$(OBJEXT): $(hdrdir)/ruby/ruby.h
util.$(OBJEXT): $(top_srcdir)/internal/compilers.h