From 1576cbabb934bad54f9c25ebc7f763ff6208434f Mon Sep 17 00:00:00 2001
From: Lukas Larsson <lukas.larsson@erlang-solutions.com>
Date: Thu, 2 Jun 2016 11:23:57 +0200
Subject: erts: Add etp commands to re-compile erlang

---
 erts/etc/unix/etp-commands.in | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

(limited to 'erts/etc')

diff --git a/erts/etc/unix/etp-commands.in b/erts/etc/unix/etp-commands.in
index 8f9945c4b4..ce334c9dcb 100644
--- a/erts/etc/unix/etp-commands.in
+++ b/erts/etc/unix/etp-commands.in
@@ -3694,6 +3694,26 @@ document etp-address-to-beam-opcode
 %---------------------------------------------------------------------------
 end
 
+define etp-compile-debug
+  shell (cd $ERL_TOP && make emulator FLAVOR=smp TYPE=debug)
+end
+
+document etp-compile-debug
+%---------------------------------------------------------------------------
+% Re-compile the debug erlang emulator
+%---------------------------------------------------------------------------
+end
+
+define etp-compile
+  shell (cd $ERL_TOP && make emulator)
+end
+
+document etp-compile
+%---------------------------------------------------------------------------
+% Re-compile the erlang emulator
+%---------------------------------------------------------------------------
+end
+
 
 ############################################################################
 # Toolbox parameter handling
-- 
cgit v1.2.3