diff options
author | Luca Ceresoli <luca@lucaceresoli.net> | 2016-03-05 00:39:12 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-03-06 14:34:17 +0100 |
commit | 45a083cafbc82545dcc8c4f54ba440a0b8d9fe22 (patch) | |
tree | e2e2e0e82edec4476edb02094bd3b016762b681a /package/nodejs/0.10.42/0003-use-python-variable.patch | |
parent | 787a7f1f56bb219a625d49445ecb14d1a6693ded (diff) | |
download | buildroot-45a083cafbc82545dcc8c4f54ba440a0b8d9fe22.tar.gz buildroot-45a083cafbc82545dcc8c4f54ba440a0b8d9fe22.zip |
legal-info: fix detection of "override" packages
The ifneq ($$($(2)_SITE_METHOD),override) test will always match
because SITE_METHOD is never set to "override". The result is that
some packages are downloaded and extracted unnecessarily, although
they are (correctly) not saved in output/legal-info/.
Fix by simply testing $(2)_OVERRIDE_SRCDIR instead: when empty, it
indicates that the packages is neither a "local" site-method package
nor a package that has its source directory overridden.
Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/nodejs/0.10.42/0003-use-python-variable.patch')
0 files changed, 0 insertions, 0 deletions