meta-agl-bsp: add "kingfisher" to AGL_FEATURES for -kf builds 25/26525/2
authorScott Murray <scott.murray@konsulko.com>
Tue, 27 Jul 2021 19:46:51 +0000 (15:46 -0400)
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>
Thu, 5 Aug 2021 15:31:56 +0000 (15:31 +0000)
To be able to detect when building with Kingfisher support in
recipes, add a "kingfisher" feature to AGL_FEATURES.  This should be
lower impact on builds than an override wrt sharing sstate between
builds, and matches what has been done for the refhw support with
h3ulcb.

Bug-AGL: SPEC-4023

Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Change-Id: I8f8eb148b94cdc8e80b0600b3112e45d1e709948
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26544
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 <jsmoeller@linuxfoundation.org>
(cherry picked from commit 92514559f9b195e6b58128a7492239ff50e23dec)
Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl/+/26525

meta-agl-bsp/meta-rcar-gen3-adas/conf/include/rcar-gen3-adas.inc

index 5fc4dce..4e0f7dd 100644 (file)
@@ -2,6 +2,10 @@
 #MACHINEOVERRIDES .= ":kingfisher"
 #PACKAGE_EXTRA_ARCHS_append = " kingfisher"
 
+# Add a feature as a low-impact way to detect Kingfisher support in
+# recipes.
+AGL_FEATURES_append = " kingfisher"
+
 PREFERRED_RPROVIDER_virtual/gpsd-conf ?= "gpsd-kingfisher-conf"
 
 IMAGE_NAME = "${IMAGE_BASENAME}-${MACHINE}-kf${IMAGE_VERSION_SUFFIX}"