According to the bootloader spec these should be treated as comments.

Signed-off-by: Sascha Hauer <s.ha...@pengutronix.de>
---
 common/blspec.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/common/blspec.c b/common/blspec.c
index 0f806ca..1800556 100644
--- a/common/blspec.c
+++ b/common/blspec.c
@@ -86,6 +86,9 @@ static struct blspec_entry *blspec_entry_open(struct blspec 
*blspec,
                        next++;
                }
 
+               if (*line == '#')
+                       continue;
+
                name = line;
                end = name;
 
-- 
2.7.0.rc3


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to