mirror of
https://git.yoctoproject.org/poky
synced 2026-10-15 17:07:16 +00:00
bitbake: Fix handling of empty variables in local config files
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
04b2a78837
commit
14df571486
1 file changed
+1
-1
@@ -550,7 +550,7 @@ class BBCooker:
|
||||
for key in data.dict:
|
||||
if key != "_data":
|
||||
value = data.getVar(key, False)
|
||||
if "${LAYERDIR}" in value:
|
||||
if value and "${LAYERDIR}" in value:
|
||||
data.setVar(key, value.replace("${LAYERDIR}", layer))
|
||||
|
||||
bb.data.delVar('LAYERDIR', data)
|
||||
|
||||
Reference in new issue
Block a user