diff options
author | Lukas Larsson <[email protected]> | 2013-08-13 17:14:11 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2013-08-21 15:20:04 +0200 |
commit | 20e0509d4e04fada3019639bc82d78b89f06b0fc (patch) | |
tree | d780872721c18782e4bdb7d9fc0f340363acbe38 /lib/Makefile | |
parent | a27e9776c839aa9fed9e71e3d06a33720377e293 (diff) | |
download | otp-20e0509d4e04fada3019639bc82d78b89f06b0fc.tar.gz otp-20e0509d4e04fada3019639bc82d78b89f06b0fc.tar.bz2 otp-20e0509d4e04fada3019639bc82d78b89f06b0fc.zip |
erts: Add option to include nifs statically
Both crypto and asn1 are supported.
Diffstat (limited to 'lib/Makefile')
-rw-r--r-- | lib/Makefile | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/lib/Makefile b/lib/Makefile index 9ddf3a0544..432d98e854 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -35,23 +35,26 @@ ifdef BUILD_ALL EXTRA_APPLICATIONS := $(if $(EXTRA_FILE),$(shell cat $(EXTRA_FILE))) endif -ifdef BOOTSTRAP - SUB_DIRECTORIES = \ - kernel stdlib compiler +ifdef BUILD_STATIC_LIBS + SUB_DIRECTORIES = asn1 crypto else - ifdef SECONDARY_BOOTSTRAP - SUB_DIRECTORIES = hipe parsetools asn1/src + ifdef BOOTSTRAP + SUB_DIRECTORIES = \ + kernel stdlib compiler else - ifdef TERTIARY_BOOTSTRAP - SUB_DIRECTORIES = snmp sasl jinterface ic syntax_tools wx - else # Not bootstrap build - SUB_DIRECTORIES = $(ERTS_SUB_DIRECTORIES) \ - $(OTHER_SUB_DIRECTORIES) \ - $(EXTRA_APPLICATIONS) + ifdef SECONDARY_BOOTSTRAP + SUB_DIRECTORIES = hipe parsetools asn1/src + else + ifdef TERTIARY_BOOTSTRAP + SUB_DIRECTORIES = snmp sasl jinterface ic syntax_tools wx + else # Not bootstrap build + SUB_DIRECTORIES = $(ERTS_SUB_DIRECTORIES) \ + $(OTHER_SUB_DIRECTORIES) \ + $(EXTRA_APPLICATIONS) + endif endif endif endif - # ---------------------------------------------------------------------- include $(ERL_TOP)/make/otp_subdir.mk |