aboutsummaryrefslogtreecommitdiffstats
path: root/make
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2017-05-12 13:54:32 +0200
committerBjörn Gustavsson <[email protected]>2017-05-16 10:19:37 +0200
commit4b216f70be3403bb7c102e7ac1a91b1ee4805c33 (patch)
tree9343836986b792c97e98cb281fce6cf03c6f39b4 /make
parent773c4d4f0416f25e3c0c6939f8d0871dc4486bab (diff)
downloadotp-4b216f70be3403bb7c102e7ac1a91b1ee4805c33.tar.gz
otp-4b216f70be3403bb7c102e7ac1a91b1ee4805c33.tar.bz2
otp-4b216f70be3403bb7c102e7ac1a91b1ee4805c33.zip
Let --enable-lock-counter build an additional emulator
"./configure --enable-lock-counter" would modify the behavior of the default emulator (usually SMP). To make lock counting more accessible, change --enable-lock-counter to build an additional emulator in the same way as: (cd erts/emulator && make lcnt) (The next commit will make it easier to start the built lock-counter emulator.)
Diffstat (limited to 'make')
-rw-r--r--make/otp.mk.in1
-rw-r--r--make/otp_subdir.mk4
2 files changed, 3 insertions, 2 deletions
diff --git a/make/otp.mk.in b/make/otp.mk.in
index cd4572d81b..83bab7065d 100644
--- a/make/otp.mk.in
+++ b/make/otp.mk.in
@@ -49,6 +49,7 @@ DEFAULT_TARGETS = opt debug release release_docs clean docs
DEFAULT_FLAVOR=@DEFAULT_FLAVOR@
FLAVORS=@FLAVORS@
+TYPES=@TYPES@
# Slash separated list of return values from $(origin VAR)
# that are untrusted - set default in this file instead.
diff --git a/make/otp_subdir.mk b/make/otp_subdir.mk
index fa6470ddd7..5734970298 100644
--- a/make/otp_subdir.mk
+++ b/make/otp_subdir.mk
@@ -19,13 +19,13 @@
#
# Make include file for otp
-.PHONY: debug opt release docs release_docs tests release_tests \
+.PHONY: debug opt lcnt release docs release_docs tests release_tests \
clean depend valgrind static_lib
#
# Targets that don't affect documentation directories
#
-opt debug release docs release_docs tests release_tests clean depend valgrind static_lib:
+opt debug lcnt release docs release_docs tests release_tests clean depend valgrind static_lib:
@set -e ; \
app_pwd=`pwd` ; \
if test -f vsn.mk; then \