aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2019-03-21 15:20:21 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-21 23:36:43 +0000
commit0ff5cdb0cca9266ca29127639494bcfd95e36831 (patch)
tree3d9778bef2d0140f7f6849a649fd2d57e196d075
parentf25c05b73218d0e8edf2dd63b36bc09e547c5455 (diff)
downloadbitbake-contrib-0ff5cdb0cca9266ca29127639494bcfd95e36831.tar.gz
cooker: Fix bbfile_config_priorities when BBFILE_PATTERN is empty
The layer was not in bbfile_config_priorities when BBFILE_PATTERN is empty, this caused "bitbake-layers show-layers" can't show these layers, this was incorrect since these layer did exist. Add these layer to bbfile_config_priorities can fix the problem. Fixed: Add BBFILE_PATTERN_core = "" in oe-core/meta/conf/layer.conf $ bitbake show-layers | grep oe-core There was nothing, now the layer is shown Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--lib/bb/cooker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 1982e880b..9ccaa79f5 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -1216,8 +1216,8 @@ class BBCooker:
continue
elif regex == "":
parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c)
+ cre = re.compile('^NULL$')
errors = False
- continue
else:
try:
cre = re.compile(regex)