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:
Henning Heinold 2014-05-30 16:12:28 +02:00 committed by Holger Hans Peter Freyther
parent 4addb52d7b
commit 12c250ece5
1 changed files with 3 additions and 0 deletions

View File

@ -113,6 +113,9 @@ def not_tarball(d):
workdir = d.getVar('WORKDIR',True)
s = d.getVar('S',True)
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
else:
return False