mirror of
https://github.com/qca/qca-swiss-army-knife.git
synced 2024-11-23 09:43:48 +08:00
ath11k-check: don't use global with Kconfig and Makefile
Starting from Debian 10 global returns an error with Kconfig and Makefile, add a workaround for that. Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
This commit is contained in:
parent
64a3e2aabf
commit
9983705ee8
@ -308,6 +308,10 @@ def run_checkpatch(args):
|
||||
|
||||
# create tag mapping
|
||||
for f in driver_files:
|
||||
# global gives an error from Kconfig and Makefile
|
||||
if f.endswith('Kconfig') or f.endswith('Makefile'):
|
||||
continue
|
||||
|
||||
cmd = 'global -f %s' % (f)
|
||||
output = subprocess.check_output(cmd, shell=True)
|
||||
lines = output.splitlines()
|
||||
|
Loading…
Reference in New Issue
Block a user