sysmocom-archiver: whitelist gcc-cross
* archiver discard the source providing for all native and shared-work recipes, so we whitelist gcc-cross, which covers the source code for the runtime libgcc package Fixes: SYS#372
This commit is contained in:
parent
4addb52d7b
commit
12c250ece5
|
@ -113,6 +113,9 @@ def not_tarball(d):
|
||||||
workdir = d.getVar('WORKDIR',True)
|
workdir = d.getVar('WORKDIR',True)
|
||||||
s = d.getVar('S',True)
|
s = d.getVar('S',True)
|
||||||
if 'work-shared' in s or 'task-' in workdir or 'native' in workdir:
|
if 'work-shared' in s or 'task-' in workdir or 'native' in workdir:
|
||||||
|
pn = bb.data.getVar('PN', d , True)
|
||||||
|
if pn == 'gcc-cross':
|
||||||
|
return False
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
return False
|
return False
|
||||||
|
|
Loading…
Reference in New Issue