sstate.bbclass: Handle whitespace in the list of files to 'fixup' to resolve log warning
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
e77207ccdf
commit
bb7a42ee4e
|
@ -276,6 +276,8 @@ def sstate_hardcode_path(d):
|
|||
sstate_builddir = bb.data.getVar('SSTATE_BUILDDIR', d, True)
|
||||
|
||||
for i in file_list.split('\n'):
|
||||
if not f:
|
||||
continue
|
||||
if bb.data.inherits_class('native', d) or bb.data.inherits_class('nativesdk', d) or bb.data.inherits_class('crosssdk', d) or bb.data.inherits_class('cross-canadian', d):
|
||||
cmd = "sed -i -e s:%s:FIXMESTAGINGDIR:g %s" % (staging, i)
|
||||
elif bb.data.inherits_class('cross', d):
|
||||
|
|
Loading…
Reference in New Issue