Rework test/debug image features and crosssdk image definitions 05/24505/7
authorScott Murray <scott.murray@konsulko.com>
Wed, 13 May 2020 00:58:56 +0000 (20:58 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Mon, 18 May 2020 10:30:03 +0000 (10:30 +0000)
commitdad22a2b3c3cced169c4790e8fe5d8cf2cc62ee2
tree72df19f3267cb0b45dfece356e4d4f5890e909b0
parenta954a264140745f6732695dcce9f84494504b758
Rework test/debug image features and crosssdk image definitions

Changes include:
- The agl-test-wgt/agl-devel-wgt image features and the scheme of
  appending to their FEATURE_PACKAGES definitions turned out to be
  problematic with respect to resulting in unexpected extra packages
  ending up in agl-image-{minimal,ivi}, etc., when building with
  agl-demo configured (which is typical usage). To avoid this, the
  FEATURE_PACKAGE definitions for the image features have been
  replaced with tweaks to define COMPLEMENTARY_GLOBS for the features
  to bring in the test/debug/coverage packages via that mechanism.
- The above removes the need to define the extra test/devel
  packagegroups, and requires some minor tweaks to aglwgt.bbclass to
  use a -debug package for the debug widget instead of -dbg, to avoid
  collisions with the dbg-pkgs image feature. As well, the afb-test
  package has been added as to RDEPENDS of all test widget packages,
  since that seems sensible and avoids needing to explicitly adding
  it elsewhere.
- Attempt to rework the various crosssdk image definitions to use a
  layered set of .inc files to remove duplication and ensure that
  additions to the SDK are declared once in the appropriate profile.
  It is likely that a clean sheet implementation would have some
  things coming from meta-agl-profile-graphical, so further rework
  may be required/desired to continue cleaning things up.

Bug-AGL: SPEC-3300, SPEC-3375

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I942b61501beb41d037001b70a501f90b9a59c45d
13 files changed:
meta-agl-distro/conf/distro/poky-agl.conf
meta-agl-profile-core/conf/include/base-agl.inc
meta-agl-profile-core/recipes-platform/images/agl-image-minimal-crosssdk.bb [changed mode: 0755->0644]
meta-agl-profile-core/recipes-platform/images/agl-image-minimal-crosssdk.inc [new file with mode: 0644]
meta-agl-profile-core/recipes-platform/packagegroups/packagegroup-agl-core-services.bb
meta-agl-profile-graphical-qt5/recipes-platform/images/agl-image-graphical-qt5-crosssdk.bb
meta-agl-profile-graphical-qt5/recipes-platform/images/agl-image-graphical-qt5-crosssdk.inc [new file with mode: 0644]
meta-agl-profile-graphical-qt5/recipes-platform/images/agl-image-graphical-qt5.bb
meta-agl-profile-graphical-qt5/recipes-platform/images/agl-image-graphical-qt5.inc
meta-agl-profile-graphical/conf/include/agl-profile-graphical.inc [deleted file]
meta-agl-profile-graphical/recipes-platform/packagegroups/packagegroup-agl-graphical-services.bb
meta-app-framework/classes/aglwgt.bbclass
templates/feature/agl-profile-graphical/50_local.conf.inc [deleted file]