From: Yann E. MORIN Date: Sat, 26 Oct 2019 08:46:01 +0000 (+0200) Subject: utils/check-package: report := that appends to variables X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1e03a2e89eef2539ca78a24ccfcfaf09f0eef9bf;p=buildroot.git utils/check-package: report := that appends to variables Signed-off-by: Yann E. MORIN Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- 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: