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