From b7da31641c24c53d47ea45a7119d1bd353011b39 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 1 Feb 2018 23:15:22 +0800 Subject: bitbake: cooker: skip when BBFILE_PATTERN is empty There is nothing to do when BBFILE_PATTERN is empty. Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- lib/bb/cooker.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/bb/cooker.py') diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index cd365f780..f0dab9797 100644 --- a/lib/bb/cooker.py +++ b/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) -- cgit 1.2.3-korg