[bitbake-devel] [PATCH 1/8] bitbake: cooker: skip when BBFILE_PATTERN is empty

Robert Yang liezhi.yang at windriver.com
Thu Feb 1 15:15:22 UTC 2018


There is nothing to do when BBFILE_PATTERN is empty.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 bitbake/lib/bb/cooker.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index cd365f7..f0dab97 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1170,6 +1170,7 @@ class BBCooker:
                 elif regex == "":
                     parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c)
                     errors = False
+                    continue
                 else:
                     try:
                         cre = re.compile(regex)
-- 
2.7.4




More information about the bitbake-devel mailing list