Merge pull request #7432 from thalesmg/fix-makefile-pkg-deps

fix: add common dependencies to `%-pkg` target in makefile
This commit is contained in:
Thales Macedo Garitezi 2022-03-28 13:53:11 -03:00 committed by GitHub
commit 3db1080887
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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))))