diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-06-26 13:17:28 -0400 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-06-27 13:29:11 +0000 |
commit | cb99171e50e8741064afef83f70fd702237733ba (patch) | |
tree | 5e4d3e6d1f07d9c205c057a6a178b2522336da88 | |
parent | 87efbd0d9e34f627f061f16408b017f9a778206e (diff) |
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 <scott.murray@konsulko.com>
Change-Id: Ice6bc23c21f2206963b258c57dac5045721fcfe5
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24889
Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
ci-image-boot-test: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org>
Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
-rw-r--r-- | meta-app-framework/classes/aglwgt.bbclass | 8 |
1 files 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 |