[Buildroot] [Bug 12321] host-generic-package: PKG_DL_OPTS not used for host package

bugzilla at busybox.net bugzilla at busybox.net
Mon Nov 18 16:09:54 UTC 2019


https://bugs.busybox.net/show_bug.cgi?id=12321

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni at free-electrons.com> ---
Thanks Matthias for your bug report, and good catch!

As you suggested, could you try applying a change like the below patch, and see
if it helps? If it does, it would be nice if you could submit the patch on the
Buildroot mailing list (if you don't want to do it, let us know, and we'll
handle that). Thanks!

diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 7d6fa08418..7b3294a09a 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -541,6 +541,12 @@ ifndef $(2)_SITE_METHOD
  endif
 endif

+ifndef $(2)_DL_OPTS
+ ifdef $(3)_DL_OPTS
+  $(2)_DL_OPTS = $$($(3)_DL_OPTS)
+ endif
+endif
+
 ifneq ($$(filter bzr cvs hg svn,$$($(2)_SITE_METHOD)),)
 BR_NO_CHECK_HASH_FOR += $$($(2)_SOURCE)
 endif

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list