diff options
author | Mirza Krak <mirza.krak@northern.tech> | 2018-08-15 09:16:09 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-08-15 14:32:46 +0200 |
commit | 4eccbe3ef975fa7dcc8984fa9a19c778752d70af (patch) | |
tree | 27534fe0d04ee9b6bdd291ee2ff860976dc402a6 /package/python-django | |
parent | a3c3a54da9394afc819f70215a2cf34162c05b82 (diff) | |
download | buildroot-4eccbe3ef975fa7dcc8984fa9a19c778752d70af.tar.gz buildroot-4eccbe3ef975fa7dcc8984fa9a19c778752d70af.zip |
package/pkg-golang: post-pone evaluation of variables
As explained in pkg-generic.mk, all variable references inside the
inner-xxx-package should use $$(...). Otherwise, they are evaluated
too early, and will not contain the expected value. In the content of
the pkg-golang infrastructure, the <pkg>_SRC_DOMAIN, <pkg>_SRC_VENDOR
and <pkg>_SRC_SOFTWARE variables were not properly escaping their
reference to the $$($(2)_SITE) variable.
This was not visible until now, as only target Go packages were
supported, where $(2)_SITE was always defined prior to this macro
being expanded. With the upcoming support of host Go packages, we need
to fix this, as $(2)_SITE may be defined later, inherited from
$(3)_SITE.
Signed-off-by: Mirza Krak <mirza.krak@northern.tech>
[Thomas: rework commit log.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/python-django')
0 files changed, 0 insertions, 0 deletions