aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorGravatar Yann E. MORIN <yann.morin.1998@free.fr>2019-10-26 10:46:01 +0200
committerGravatar Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2019-10-27 10:35:06 +0100
commit1e03a2e89eef2539ca78a24ccfcfaf09f0eef9bf (patch)
treeabe4d1f6c04cfb496c6ebb4e0ba014f3387d2022 /utils
parent9bdc27d8a7129650c349cc5bbdde032dfdb35338 (diff)
downloadbuildroot-1e03a2e89eef2539ca78a24ccfcfaf09f0eef9bf.tar.gz
buildroot-1e03a2e89eef2539ca78a24ccfcfaf09f0eef9bf.tar.bz2
utils/check-package: report := that appends to variables
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Diffstat (limited to 'utils')
-rw-r--r--utils/checkpackagelib/lib_mk.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/checkpackagelib/lib_mk.py b/utils/checkpackagelib/lib_mk.py
index dd04ffd58f..b805cd9925 100644
--- a/utils/checkpackagelib/lib_mk.py
+++ b/utils/checkpackagelib/lib_mk.py
@@ -126,7 +126,9 @@ class OverriddenVariable(_CheckFunction):
self.conditionally_set.append(variable)
return
if self.CONCATENATING.search(text):
- return
+ return ["{}:{}: immediate assignment to append to variable {}"
+ .format(self.filename, lineno, variable),
+ text]
if self.USUALLY_OVERRIDDEN.search(text):
return
if assignment in self.OVERRIDING_ASSIGNMENTS: