From 12c250ece554d9491b1baeae3eb19be509066448 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Fri, 30 May 2014 16:12:28 +0200 Subject: [PATCH] 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 --- classes/sysmocom-archiver.bbclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/classes/sysmocom-archiver.bbclass b/classes/sysmocom-archiver.bbclass index f1b2191..ff0e093 100644 --- a/classes/sysmocom-archiver.bbclass +++ b/classes/sysmocom-archiver.bbclass @@ -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