summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/kernel.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/bsp/kernel.py')
-rw-r--r--scripts/lib/bsp/kernel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/lib/bsp/kernel.py b/scripts/lib/bsp/kernel.py
index 0b7e69bcb9..272c3eb5a2 100644
--- a/scripts/lib/bsp/kernel.py
+++ b/scripts/lib/bsp/kernel.py
@@ -168,7 +168,7 @@ def read_config_items(scripts_path, machine):
168 lines = f.readlines() 168 lines = f.readlines()
169 for line in lines: 169 for line in lines:
170 s = line.strip() 170 s = line.strip()
171 if s: 171 if s and not s.startswith("#"):
172 config_items.append(s) 172 config_items.append(s)
173 f.close() 173 f.close()
174 174
@@ -399,7 +399,7 @@ def read_patch_items(scripts_path, machine):
399 lines = f.readlines() 399 lines = f.readlines()
400 for line in lines: 400 for line in lines:
401 s = line.strip() 401 s = line.strip()
402 if s: 402 if s and not s.startswith("#"):
403 fields = s.split() 403 fields = s.split()
404 if not fields[0] == "patch": 404 if not fields[0] == "patch":
405 continue 405 continue