summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2020-04-22 15:31:30 +0200
committerLukas Larsson <lukas@erlang.org>2020-04-22 17:42:06 +0200
commit62e2a844e5c26e4dad4516eb6334d2177e52cdbf (patch)
tree5e6cce2ded23886185306afcb24346605592e80b /Makefile.in
parent8a84fb42a54cd1df44d02915530eb9659ab91c68 (diff)
downloaderlang-62e2a844e5c26e4dad4516eb6334d2177e52cdbf.tar.gz
otp: Cleanup top makefile from redundant build_erl_interface
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in19
1 files changed, 7 insertions, 12 deletions
diff --git a/Makefile.in b/Makefile.in
index 938563bd2e..f9bfe123b0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -338,7 +338,7 @@ endif
else
# Cross compiling
-all: cross_check_erl depend build_erl_interface \
+all: cross_check_erl depend erl_interface \
emulator libs start_scripts check_dev_rt_dep
endif
@@ -378,29 +378,22 @@ endif
# the system is delivered in open source, the primary
# bootstrap is not included, it requires a pre built emulator...
ifeq ($(OTP_TINY_BUILD),true)
-all_bootstraps: build_erl_interface emulator bootstrap_setup \
+all_bootstraps: erl_interface emulator bootstrap_setup \
tiny_secondary_bootstrap_build tiny_secondary_bootstrap_copy
else
-all_bootstraps: build_erl_interface emulator \
+all_bootstraps: erl_interface emulator \
bootstrap_setup \
secondary_bootstrap_build secondary_bootstrap_copy \
tertiary_bootstrap_build tertiary_bootstrap_copy
endif
-.PHONY: build_erl_interface
-
-build_erl_interface:
- $(make_verbose)cd lib/erl_interface && \
- ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \
- $(MAKE) $(TYPE)
-
#
# Use these targets when you want to use the erl and erlc
# binaries in your PATH instead of those created from the
# pre-compiled Erlang modules under bootstrap/.
#
noboot:
- $(MAKE) USE_PGO=false BOOT_PREFIX= build_erl_interface emulator libs local_setup
+ $(MAKE) USE_PGO=false BOOT_PREFIX= erl_interface emulator libs local_setup
noboot_install:
$(MAKE) USE_PGO=false BOOT_PREFIX= install
@@ -480,7 +473,7 @@ BOOTSTRAP_COMPILER = $(BOOTSTRAP_TOP)/primary_compiler
# otp.mk is only used to figure out if we are doing PGO or not
include $(ERL_TOP)/make/$(TARGET)/otp.mk
-.PHONY: emulator libs kernel stdlib compiler hipe syntax_tools preloaded
+.PHONY: emulator libs kernel preloaded
ifeq ($(USE_PGO), true)
PROFILE=use
@@ -517,6 +510,8 @@ endif
APPS=$(patsubst $(ERL_TOP)/lib/%/doc,%,$(wildcard $(ERL_TOP)/lib/*/doc))
+.PHONY: $(APPS)
+
$(APPS):
$(make_verbose)cd lib/$@ && \
ERL_TOP=$(ERL_TOP) PATH=$(BOOT_PREFIX)"$${PATH}" \