diff options
author | Changqing Li <changqing.li@windriver.com> | 2021-07-28 09:21:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-10 11:14:11 +0100 |
commit | bb4a62557b8b51697154e02c04f656949a35f49f (patch) | |
tree | 0d232bb6b4f5028e62de13f687140ec26b795bc0 /meta | |
parent | a2a412fcd7d011b2f14523d1e9804bd44db55e05 (diff) | |
download | poky-bb4a62557b8b51697154e02c04f656949a35f49f.tar.gz |
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>
Diffstat (limited to 'meta')
-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 49717d4f57..9ef18ebd3c 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(): |