summaryrefslogtreecommitdiff
path: root/erts/Makefile
diff options
context:
space:
mode:
authorLukas Larsson <lukas@erlang.org>2022-01-04 17:44:08 +0100
committerLukas Larsson <lukas@erlang.org>2022-01-21 10:30:25 +0100
commitdda051ea1d6f24ae47da4f5fdcd581c4c505b262 (patch)
tree0fb13319f4d24bdd54b3935ee9484af3cf8919fb /erts/Makefile
parent0e8e4d03ea21082bf7fb64fc08711f951cabb165 (diff)
downloaderlang-dda051ea1d6f24ae47da4f5fdcd581c4c505b262.tar.gz
otp: Fix `make TYPE=$TYPE` to work for all types
Diffstat (limited to 'erts/Makefile')
-rw-r--r--erts/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/Makefile b/erts/Makefile
index cc0637dee9..512db02fd8 100644
--- a/erts/Makefile
+++ b/erts/Makefile
@@ -41,7 +41,7 @@ docs:
$(V_at)( cd doc/src && $(MAKE) $@ )
.PHONY: debug opt lcnt clean test
-debug opt lcnt clean:
+$(TYPES) clean:
$(V_at)for d in emulator $(ERTSDIRS); do \
if test -d $$d; then \
( cd $$d && $(MAKE) $@ ) || exit $$?; \
@@ -57,7 +57,7 @@ test:
.PHONY: $(FLAVORS)
$(FLAVORS):
- $(V_at)for type in $(TYPES); do \
+ $(V_at)for type in $(DEFAULT_TYPES); do \
( $(MAKE) FLAVOR=$@ $$type ) || exit $$?; \
done
@@ -150,7 +150,7 @@ makefiles:
.PHONY: release
release:
ifeq ($(TYPE),)
- for t in $(TYPES); do \
+ for t in $(DEFAULT_TYPES); do \
( cd emulator && $(MAKE) release TYPE=$$t ) || exit $$?; \
done
else