Message ID | 1427650429-9293-33-git-send-email-thomas.petazzoni@free-electrons.com |
---|---|
State | Superseded |
Headers | show |
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk index ae3668f..be09a39 100644 --- a/package/pkg-generic.mk +++ b/package/pkg-generic.mk @@ -353,6 +353,12 @@ ifndef $(2)_PATCH endif endif +ifndef $(2)_EXTRA_DOWNLOADS + ifdef $(3)_EXTRA_DOWNLOADS + $(2)_PATCH = $$($(3)_EXTRA_DOWNLOADS) + endif +endif + ifndef $(2)_SITE ifdef $(3)_SITE $(2)_SITE = $$($(3)_SITE)
Just like <pkg>_PATCH, <pkg>_SOURCE or <pkg>_SITE, the <pkg>_EXTRA_DOWNLOADS variable of a host package should be automatically inferred from the <pkg>_EXTRA_DOWNLOADS value of the corresponding target package, unless an explicit value is being defined for the host package. This commit implements this for <pkg>_EXTRA_DOWNLOADS. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> --- package/pkg-generic.mk | 6 ++++++ 1 file changed, 6 insertions(+)