aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2018-02-01 23:15:22 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-09 14:00:26 +0000
commitb7da31641c24c53d47ea45a7119d1bd353011b39 (patch)
treefad5cff5e5d16a539bbd35d8436a61c658a13fb1
parent6b508ab8fd5aa796c1c00c970e81e5e93f84d35d (diff)
downloadbitbake-b7da31641c24c53d47ea45a7119d1bd353011b39.zip
bitbake-b7da31641c24c53d47ea45a7119d1bd353011b39.tar.gz
bitbake-b7da31641c24c53d47ea45a7119d1bd353011b39.tar.bz2
bitbake: cooker: skip when BBFILE_PATTERN is empty
There is nothing to do when BBFILE_PATTERN is empty. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index cd365f7..f0dab97 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)