mirror of
git://git.yoctoproject.org/poky
synced 2026-08-12 22:48:39 +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:
parent
04b2a78837
commit
14df571486
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user