summaryrefslogtreecommitdiffstats
path: root/recipes-navigation/gpsd/gpsd-machine-conf_agldemo.inc
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2024-02-18 16:09:28 -0500
committerScott Murray <scott.murray@konsulko.com>2024-02-20 14:41:30 +0000
commit953f9ca81b1da07f61f8d417fc2765cb647dcf79 (patch)
treef3f9452c5dedeaf7fb0d35cea9d070c1627a6212 /recipes-navigation/gpsd/gpsd-machine-conf_agldemo.inc
parentd76a46d03a73bbbe8911d9f6f227e0cf80a7b791 (diff)
Rework gpsd configuration
To remove the use of the "virtual/gpsd-conf" RPROVIDES as part of futureproofing for YP 5.0 / Scarthgap, rework the machine-specific gpsd configuration scheme to based on the gpsd-machine-conf recipe that is intended for this upstream. The gpsd-machine-conf recipe is now unconditionally included in the navigation packagegroup, but it will be empty on machines except those that add their own content to it. Bug-AGL: SPEC-5067 Change-Id: I7f1b555f154fe77c643019dae4bb90354ca2a4b4 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/c/AGL/meta-agl-demo/+/29691 ci-image-boot-test: Jenkins Job builder account Tested-by: Jenkins Job builder account ci-image-build: Jenkins Job builder account
Diffstat (limited to 'recipes-navigation/gpsd/gpsd-machine-conf_agldemo.inc')
-rw-r--r--recipes-navigation/gpsd/gpsd-machine-conf_agldemo.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/recipes-navigation/gpsd/gpsd-machine-conf_agldemo.inc b/recipes-navigation/gpsd/gpsd-machine-conf_agldemo.inc
new file mode 100644
index 000000000..f2bca1a68
--- /dev/null
+++ b/recipes-navigation/gpsd/gpsd-machine-conf_agldemo.inc
@@ -0,0 +1,8 @@
+# Mark package as machine specific, which the upstream stub recipe
+# does not do for unclear reasons.
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+# Allow an empty package as results from the upstream stub recipe.
+# This allows using the package without needing machine specific
+# hooks.
+ALLOW_EMPTY:${PN} = "1"