Convert to new override syntax
[AGL/meta-agl.git] / meta-agl-bsp / meta-agl-refhw-gen3 / recipes-navigation / gpsd / gpsd-conf-refhw_1.0.bb
index c87308e..25bdb73 100644 (file)
@@ -2,7 +2,6 @@ SUMMARY = "AGL Reference Hardware specific gpsd configuration"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
 
-COMPATIBLE_MACHINE = "agl-refhw-h3"
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SRC_URI = "file://gpsd.refhw \
@@ -24,7 +23,7 @@ do_install() {
     fi
 }
 
-ALTERNATIVE_${PN} = "gpsd-defaults"
+ALTERNATIVE:${PN} = "gpsd-defaults"
 ALTERNATIVE_LINK_NAME[gpsd-defaults] = "${sysconfdir}/default/gpsd"
 ALTERNATIVE_TARGET[gpsd-defaults] = "${sysconfdir}/default/gpsd.refhw"
 # NOTE: Priority needs to be below default of 10 to avoid overriding the
@@ -32,7 +31,7 @@ ALTERNATIVE_TARGET[gpsd-defaults] = "${sysconfdir}/default/gpsd.refhw"
 #       will tweak things on boot to handle h3ulcb vs refhw.
 ALTERNATIVE_PRIORITY[gpsd-defaults] = "5"
 
-CONFFILES_${PN} = "${sysconfdir}/default/gpsd.refhw"
+CONFFILES:${PN} = "${sysconfdir}/default/gpsd.refhw"
 
 # NOTE: Explicitly not defining RPROVIDES of "virtual/gpsd-conf" to
 #       avoid conflicting with the default configuration and potentially