summaryrefslogtreecommitdiffstats
path: root/scripts/lib
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib')
-rw-r--r--scripts/lib/bsp/kernel.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py
index 94ae950..c3592a3 100644
--- a/scripts/lib/bsp/kernel.py
+++ b/scripts/lib/bsp/kernel.py
@@ -54,7 +54,8 @@ def find_bblayers(scripts_path):
54 in_bblayers = False 54 in_bblayers = False
55 for line in lines: 55 for line in lines:
56 line = line.strip() 56 line = line.strip()
57 if line.strip().startswith("BBLAYERS"): 57 tokens = line.split()
58 if len(tokens) > 0 and tokens[0] == 'BBLAYERS':
58 bblayers_lines.append(line) 59 bblayers_lines.append(line)
59 in_bblayers = True 60 in_bblayers = True
60 quotes = line.strip().count('"') 61 quotes = line.strip().count('"')