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>
This commit is contained in:
Robert Yang
2018-02-01 23:15:22 +08:00
committed by Richard Purdie
parent 9c44aee83d
commit fe70fd1a03

View File

@@ -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)