diff options
author | Andrea Corallo <andrea.corallo@arm.com> | 2022-10-11 21:17:55 +0200 |
---|---|---|
committer | Andrea Corallo <andrea.corallo@arm.com> | 2022-10-11 21:19:21 +0200 |
commit | 37447209042e174f4e95c8d0166418d2aef018ed (patch) | |
tree | 19d01aa53747137f14bb59337ef89339db0cd46f /lisp/Makefile.in | |
parent | 61b6da5acef2d550022c664e628346539ba1852f (diff) | |
download | emacs-37447209042e174f4e95c8d0166418d2aef018ed.tar.gz |
Add trampoline AOT compilation target (bug#58318)
* Makefile.in (trampolines): New target.
* lisp/Makefile.in (trampolines): Likewise.
* lisp/emacs-lisp/comp.el (comp-compile-all-trampolines): New
function.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r-- | lisp/Makefile.in | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in index 256017f6c5b..338814fdda2 100644 --- a/lisp/Makefile.in +++ b/lisp/Makefile.in @@ -430,6 +430,12 @@ compile-always: find $(lisp) -name '*.elc' $(FIND_DELETE) $(MAKE) compile +.PHONY: trampolines +trampolines: compile +ifeq ($(HAVE_NATIVE_COMP),yes) + $(emacs) -l comp -f comp-compile-all-trampolines +endif + .PHONY: backup-compiled-files compile-after-backup # Backup compiled Lisp files in elc.tar.gz. If that file already |