From: Changqing Li Date: Wed, 28 Jul 2021 01:21:22 +0000 (+0800) Subject: archiver.bbclass: fix do_ar_configured failure for kernel X-Git-Tag: uninative-3.3~149 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=d7776a23cbea836ddb8ac5ec77012af2449ab875;p=openembedded-core.git archiver.bbclass: fix do_ar_configured failure for kernel Signed-off-by: Changqing Li Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass index 900268971c..dd31dc0cd8 100644 --- a/meta/classes/archiver.bbclass +++ b/meta/classes/archiver.bbclass @@ -281,7 +281,10 @@ python do_ar_configured() { # ${STAGING_DATADIR}/aclocal/libtool.m4, so we can't re-run the # do_configure, we archive the already configured ${S} to # instead of. - elif pn != 'libtool-native': + # The kernel class functions require it to be on work-shared, we + # don't unpack, patch, configure again, just archive the already + # configured ${S} + elif not (pn == 'libtool-native' or is_work_shared(d)): def runTask(task): prefuncs = d.getVarFlag(task, 'prefuncs') or '' for func in prefuncs.split():