Skip to contentSkip to conversation

utils/test-pkg: always run a global legal-info

PATCH New Yann E. MORIN 2 participants 2 messages Jan 7, 2018 – Jan 8, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 utils/test-pkg: always run a global legal-info

Instead of limiting it to the package under test, we run it globally.

Cc Thomas Petazzoni <[email protected]>
Cc Matthew Weber <[email protected]>
---
 utils/test-pkg | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
utils/test-pkg +2 -4
index 1b7046eac4..cd7b9dad7b 100755
@@ -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
 }
 
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 utils/test-pkg: always run a global legal-info

Hello,

Quoted 8 lines · Yann E. MORIN

Instead of limiting it to the package under test, we run it globally.

Cc Thomas Petazzoni <[email protected]>
Cc Matthew Weber <[email protected]>
---
 utils/test-pkg | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com