diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 42831e2771..c08af4593f 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1240,6 +1240,10 @@ class BBCooker: | |||
1240 | parselog.error("BBFILE_PATTERN_%s not defined" % c) | 1240 | parselog.error("BBFILE_PATTERN_%s not defined" % c) |
1241 | errors = True | 1241 | errors = True |
1242 | continue | 1242 | continue |
1243 | elif regex == "": | ||
1244 | parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) | ||
1245 | errors = False | ||
1246 | continue | ||
1243 | try: | 1247 | try: |
1244 | cre = re.compile(regex) | 1248 | cre = re.compile(regex) |
1245 | except re.error: | 1249 | except re.error: |