archiver.bbclass: fix do_ar_configured failure for kernel
PATCH 1/1 archiver.bbclass: fix do_ar_configured failure for kernel
From: Changqing Li <[email protected]>
Signed-off-by Changqing Li <[email protected]>
--- meta/classes/archiver.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta/classes/archiver.bbclass +4 -1
@@ -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():
Signature · 1 line
2.17.1
Thanks, this is already in my branch and will be in this week's pull request.
Thanks,
Anuj
Quoted 30 lines · Changqing Li
From: Changqing Li <[email protected]>
Signed-off-by Changqing Li <[email protected]>---
meta/classes/archiver.bbclass | 5 ++++-1 file changed, 4 insertions(+), 1 deletion(-)meta/classes/archiver.bbclass +0
-0@@ -281,7 +281,10 @@ python do_ar_configured() { # ${STAGING_DATADIR}/aclocal/libtool.m4, so we can't re-runthe
#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():