summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2021-07-28 09:21:22 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-06 09:59:15 +0100
commit033b7301def38039f1a2ff94aa7181b7c524f50c (patch)
treee8b0e8590667d343d78e9bb05ae0fec77fc02d7a /meta/classes
parentf93b0de0940398f0e2687bf260754722631e1ed0 (diff)
downloadpoky-033b7301def38039f1a2ff94aa7181b7c524f50c.tar.gz
archiver.bbclass: fix do_ar_configured failure for kernel
(From OE-Core rev: 7ff54f2b1842830d526295192a8de2d168835911) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d7776a23cbea836ddb8ac5ec77012af2449ab875) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/archiver.bbclass5
1 files changed, 4 insertions, 1 deletions
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() {
281 # ${STAGING_DATADIR}/aclocal/libtool.m4, so we can't re-run the 281 # ${STAGING_DATADIR}/aclocal/libtool.m4, so we can't re-run the
282 # do_configure, we archive the already configured ${S} to 282 # do_configure, we archive the already configured ${S} to
283 # instead of. 283 # instead of.
284 elif pn != 'libtool-native': 284 # The kernel class functions require it to be on work-shared, we
285 # don't unpack, patch, configure again, just archive the already
286 # configured ${S}
287 elif not (pn == 'libtool-native' or is_work_shared(d)):
285 def runTask(task): 288 def runTask(task):
286 prefuncs = d.getVarFlag(task, 'prefuncs') or '' 289 prefuncs = d.getVarFlag(task, 'prefuncs') or ''
287 for func in prefuncs.split(): 290 for func in prefuncs.split():