summaryrefslogtreecommitdiffstats
path: root/bitbake
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-14 15:26:03 +0000
commitfe70fd1a03dcbf516ee10866b8a68daf942c0a07 (patch)
tree7688e12638730efb04a39a611fa73de956cc0b25 /bitbake
parent9c44aee83d5a3e74e33e492fb0892c419756fb00 (diff)
downloadpoky-fe70fd1a03dcbf516ee10866b8a68daf942c0a07.tar.gz
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 <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/cooker.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index cd365f7803..f0dab97974 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1170,6 +1170,7 @@ class BBCooker:
1170 elif regex == "": 1170 elif regex == "":
1171 parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) 1171 parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c)
1172 errors = False 1172 errors = False
1173 continue
1173 else: 1174 else:
1174 try: 1175 try:
1175 cre = re.compile(regex) 1176 cre = re.compile(regex)