1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 12:49:46 +00:00

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
+1
View File
@@ -1170,6 +1170,7 @@ class BBCooker:
elif regex == "": elif regex == "":
parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c)
errors = False errors = False
continue
else: else:
try: try:
cre = re.compile(regex) cre = re.compile(regex)