diff options
author | Roland Hieber <rhi@pengutronix.de> | 2019-06-05 20:52:06 +0200 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2019-06-05 20:57:48 +0200 |
commit | 47b12b0b711f7a19e1ca399d1fa26a5114e19e4e (patch) | |
tree | 1fc31dbc5cb2249b9331c80cdd31069b0dc68035 /configs/platform-v7a/rules | |
parent | cda3068319d9075df6e460dfd05d58c5fb6a4638 (diff) | |
download | DistroKit-47b12b0b711f7a19e1ca399d1fa26a5114e19e4e.tar.gz DistroKit-47b12b0b711f7a19e1ca399d1fa26a5114e19e4e.tar.xz |
pre/barebox: barebox-url: only use <PKG>_VERSION to build the URL
When adding another barebox package to a BSP, e.g. named barebox-foo,
the BAREBOX_FOO variable will contain "barebox-foo-$(VERSION)". This
variable is used to build BAREBOX_DIR, BAREBOX_SOURCE, and
BAREBOX_FOO_URL.
We must to keep the customized package postfix in the build
directory, but in the latter case, the -foo postfix is transferred
into the URL, which will lead to errors while downloading the source.
We actually only need the barebox version to download the source
tarball, so use a static "barebox-" string to build the barebox/url
macro and also the BAREBOX_FOO_SOURCE variable in the package template,
so the same tarball isn't downloaded multiple times with different
names.
Forwarded: https://www.mail-archive.com/ptxdist@pengutronix.de/msg14535.html
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Diffstat (limited to 'configs/platform-v7a/rules')
0 files changed, 0 insertions, 0 deletions