aboutsummaryrefslogtreecommitdiffstats
path: root/erts/lib_src/Makefile.in
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-09-16 15:22:15 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-09-17 15:21:26 +0200
commit9c9878d6d4e99aba195177baef66067da0a2b797 (patch)
tree906a39b968ab6401551b8ea6adad837f034848a1 /erts/lib_src/Makefile.in
parentfcd39487c552cd18c49e23137e5c3808d38e3a0a (diff)
downloadotp-9c9878d6d4e99aba195177baef66067da0a2b797.tar.gz
otp-9c9878d6d4e99aba195177baef66067da0a2b797.tar.bz2
otp-9c9878d6d4e99aba195177baef66067da0a2b797.zip
erts: Add icount build type for opcode counter
Enables ERTS_OPCODE_COUNTER_SUPPORT.
Diffstat (limited to 'erts/lib_src/Makefile.in')
-rw-r--r--erts/lib_src/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/erts/lib_src/Makefile.in b/erts/lib_src/Makefile.in
index b680c03b1d..d0ebab49d8 100644
--- a/erts/lib_src/Makefile.in
+++ b/erts/lib_src/Makefile.in
@@ -92,6 +92,11 @@ CFLAGS += -DERTS_FRMPTR
OMIT_OMIT_FP=yes
PRE_LD=
else
+ifeq ($(TYPE),icount)
+TYPE_SUFFIX = .icount
+CFLAGS += -DERTS_OPCODE_COUNTER_SUPPORT
+PRE_LD=
+else
override TYPE=opt
OMIT_FP=true
TYPE_SUFFIX=
@@ -105,6 +110,7 @@ endif
endif
endif
endif
+endif
OPSYS=@OPSYS@
sol2CFLAGS=