aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2018-01-07 23:50:05 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2018-01-08 09:16:50 +0100
commit17cd914917307c11e3cbeab03becadc16854ae23 (patch)
treea66287ae0dc760de28190bfe838bef17c82fd098 /utils
parent09dd9d1755ee321514ad1e47fe3b70aa63201395 (diff)
downloadbuildroot-17cd914917307c11e3cbeab03becadc16854ae23.tar.gz
buildroot-17cd914917307c11e3cbeab03becadc16854ae23.tar.bz2
utils/test-pkg: always run a global legal-info
Instead of limiting it to the package under test, we run it globally. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'utils')
-rwxr-xr-xutils/test-pkg6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/test-pkg b/utils/test-pkg
index 1b7046eac4..cd7b9dad7b 100755
--- a/utils/test-pkg
+++ b/utils/test-pkg
@@ -127,10 +127,8 @@ build_one() {
# legal-info done systematically, because some packages have different
# sources depending on the configuration (e.g. lua-5.2 vs. lua-5.3)
- if [ -n "${pkg}" ]; then
- if ! make O="${dir}" "${pkg}-legal-info" >> "${dir}/logfile" 2>&1; then
- return 3
- fi
+ if ! make O="${dir}" legal-info >> "${dir}/logfile" 2>&1; then
+ return 3
fi
}