From cb99171e50e8741064afef83f70fd702237733ba Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 26 Jun 2020 13:17:28 -0400 Subject: meta-app-framework: add do_configure task in aglwgt.bbclass Add a placeholder stub do_configure to aglwgt.bbclass instead of marking it as noexec to make things like externalsrc that bbappend or add prefunc's to do_configure work. For externalsrc specifically, this fixes the creation of the convenience oe-logs and oe-workdir symlinks. Bug-AGL: SPEC-3300 Signed-off-by: Scott Murray Change-Id: Ice6bc23c21f2206963b258c57dac5045721fcfe5 Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24889 Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account ci-image-boot-test: Jenkins Job builder account Reviewed-by: Jan-Simon Moeller --- meta-app-framework/classes/aglwgt.bbclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-app-framework/classes/aglwgt.bbclass b/meta-app-framework/classes/aglwgt.bbclass index 4dd3feca7..042c0fa94 100644 --- a/meta-app-framework/classes/aglwgt.bbclass +++ b/meta-app-framework/classes/aglwgt.bbclass @@ -75,7 +75,11 @@ python aglwgt_cmake_configure () { d.appendVarFlag("AGLWGT_EXTRA_BUILD_ARGS", "vardeps", " AGLWGT_CMAKE_CONFIGURE_ARGS") } -do_configure[noexec] = "1" +# Placeholder to keep things like externalsrc that prefunc or append +# do_configure working as expected. +aglwgt_do_configure() { + true +} aglwgt_do_compile() { bldcmd=${S}/autobuild/agl/autobuild @@ -176,4 +180,4 @@ FILES_${PN}-coverage = "/usr/AGL/apps/coverage/*.wgt" # Test widgets need the parent widget and the test framework RDEPENDS_${PN}-test = "${PN} afb-test" -EXPORT_FUNCTIONS do_compile do_install +EXPORT_FUNCTIONS do_configure do_compile do_install -- cgit 1.2.3-korg