mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 21:32:12 +02:00
archiver.bbclass: fix do_ar_configured failure for kernel
(From OE-Core rev: 224913ff067e6c26cabe0df0ecbf50fb03b85165) 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: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
a2a412fcd7
commit
bb4a62557b
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user