make sysmocom-archiver work for lc15 kernel

We cannot use 'source_tar_name' in cases it is not defined. Not sure if this is
the right fix, but it at least makes the build succeed.
This commit is contained in:
Harald Welte 2017-06-11 10:11:50 +02:00 committed by Harald Welte
parent a06af1c4f1
commit 77cc4ac812
1 changed files with 2 additions and 2 deletions

View File

@ -460,8 +460,8 @@ python do_archive_linux_yocto(){
s = d.getVar('S', True) s = d.getVar('S', True)
if 'linux-yocto' in s: if 'linux-yocto' in s:
source_tar_name = archive_sources(d,'') source_tar_name = archive_sources(d,'')
if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM': if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE', True).upper() not in 'SRPM':
move_tarball_deploy(d,[source_tar_name,'']) move_tarball_deploy(d,[source_tar_name,''])
} }
do_kernel_checkout[postfuncs] += "do_archive_linux_yocto " do_kernel_checkout[postfuncs] += "do_archive_linux_yocto "