diff options
author | Sverker Eriksson <sverker@erlang.org> | 2022-02-10 21:04:23 +0100 |
---|---|---|
committer | Sverker Eriksson <sverker@erlang.org> | 2022-04-26 19:53:00 +0200 |
commit | 6770378539ff9eb48f562579ca0132537a1faa44 (patch) | |
tree | eecd49623e23a7a1b85539a880406f2a27fea913 /erts/emulator/Makefile.in | |
parent | ee8872b0f2528985306e8b2299920eb445a0c30f (diff) | |
download | erlang-6770378539ff9eb48f562579ca0132537a1faa44.tar.gz |
erts: Generate beam_asm_global.hpp with perl
instead of C preprocessor macros, to improve the ability for
(IDE supported) code browsing.
Diffstat (limited to 'erts/emulator/Makefile.in')
-rw-r--r-- | erts/emulator/Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/emulator/Makefile.in b/erts/emulator/Makefile.in index fa331e003a..e9e7951517 100644 --- a/erts/emulator/Makefile.in +++ b/erts/emulator/Makefile.in @@ -595,6 +595,11 @@ $(TTF_DIR)/OPCODES-GENERATED: $(OPCODE_TABLES) utils/beam_makeops -emulator $(OPCODE_TABLES) && echo $? >$(TTF_DIR)/OPCODES-GENERATED GENERATE += $(TTF_DIR)/OPCODES-GENERATED +ifeq ($(FLAVOR),jit) +$(TTF_DIR)/beam_asm_global.hpp: beam/jit/$(JIT_ARCH)/beam_asm_global.hpp.pl + $(gen_verbose)LANG=C $(PERL) $< > $@ +GENERATE += $(TTF_DIR)/beam_asm_global.hpp +endif # bif and atom table ATOMS= beam/atom.names |