diff options
author | Changqing Li <changqing.li@windriver.com> | 2021-07-28 09:21:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:47:00 +0100 |
commit | 4a1381d350aa1acc75ca1e6d03b8067483c162f5 (patch) | |
tree | 95cdb9b8a662d042b5ce605472da0140fdbaa75e /meta/classes/archiver.bbclass | |
parent | 9da5e45c73309900f119fd37eb4a8c3f33763674 (diff) | |
download | poky-4a1381d350aa1acc75ca1e6d03b8067483c162f5.tar.gz |
archiver.bbclass: fix do_ar_configured failure for kernel
(From OE-Core rev: d7776a23cbea836ddb8ac5ec77012af2449ab875)
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>
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r-- | meta/classes/archiver.bbclass | 5 |
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(): |