meta-app-framework: aglwgt.bbclass fixes 77/24677/2
authorScott Murray <scott.murray@konsulko.com>
Mon, 8 Jun 2020 23:14:07 +0000 (19:14 -0400)
committerScott Murray <scott.murray@konsulko.com>
Wed, 10 Jun 2020 01:45:46 +0000 (01:45 +0000)
commit69646f5957558b85d5960c4ab1c1f7b052964a48
tree4b9b464e408aedbf71513efb58a24fc73352d666
parentef5baf1c21c1ad6567614f2bc07565c2e1827604
meta-app-framework: aglwgt.bbclass fixes

Changes include:
- AGLWGT_EXTRA_BUILD_ARGS definition reworked to pass PARALLEL_MAKE
  in as BUILD_ARGS, as that gets it down to where it needs to go to
  be useful in most of the autobuild scripts/makefiles.
- The logic has been tweaked in do_aglwgt_package to only try to
  build the coverage version of widgets for things that have test
  widgets. This avoids build and packaging complications with
  applications, and seems reasonable ATM given there are no plans to
  attempt coverage for non-bindings.
- A widget not being present after calling "autobuild package" has
  been bumped to bbfatal instead of bbwarn for the release widget to
  immediately flag errors.
- "-maxdepth 1" has been added to the find commands used to check for
  widget presence to avoid picking up stray .wgt files outside of the
  immediate target build directory.

Bug-AGL: SPEC-3300

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I9d814894684b525f774f730c8e94e1c46cda16ce
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/24677
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>
meta-app-framework/classes/aglwgt.bbclass