diff options
author | Alex Suykov <alex.suykov@gmail.com> | 2016-07-03 11:49:49 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2016-07-03 12:46:10 +0200 |
commit | 75630eba22b20d6140a5b58a6d1e35598fb3c0d3 (patch) | |
tree | 38497010688115b23d32246a24c90f947e4e5868 /docs/manual/adding-packages-python.txt | |
parent | 1bfde6a73a9ab85a4df6b04966c907de2973deae (diff) | |
download | buildroot-75630eba22b20d6140a5b58a6d1e35598fb3c0d3.tar.gz buildroot-75630eba22b20d6140a5b58a6d1e35598fb3c0d3.zip |
core: do not attempt downloads with no _VERSION set
Currently, when the package defines no _SOURCE and no _VERSION
variables, we end up trying to download <PACKAGE>-undefined.tar.gz.
This is utterly pointless.
Change the logic to not attempt a download when neither _SOURCE
nor _VERSION is set:
- do not set an undefined _VERSION to "undefined"
- do not append an empty (or "undefined") version to the package
rawname
Consequently, for packages that have no _VERSION, the build
directory will be just the package name (which to some may look
nicer than the current "package-undefined").
Furthermore, the message trace is also a bit leaner (to the same
people that find "package" nicer than "package-undefined").
Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'docs/manual/adding-packages-python.txt')
0 files changed, 0 insertions, 0 deletions