fix: add common dependencies to `%-pkg` target in makefile

On a fresh clone, this will setup rebar, the dashboard and merge the
configs.
This commit is contained in:
Thales Macedo Garitezi 2022-03-28 11:40:27 -03:00
parent 7b6a71c117
commit ca25053cd5
No known key found for this signature in database
GPG Key ID: DD279F8152A9B6DD
1 changed files with 1 additions and 1 deletions

View File

@ -193,7 +193,7 @@ $(foreach zt,$(ALL_TGZS),$(eval $(call gen-tgz-target,$(zt))))
## A pkg target depend on a regular release
.PHONY: $(PKG_PROFILES)
define gen-pkg-target
$1:
$1: $(COMMON_DEPS)
@$(BUILD) $1 pkg
endef
$(foreach pt,$(PKG_PROFILES),$(eval $(call gen-pkg-target,$(pt))))