We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 207c9db commit b8a4b7bCopy full SHA for b8a4b7b
1 file changed
package/feature-gps/feature-gps.mk
@@ -11,9 +11,15 @@ FEATURE_GPS_DEPENDENCIES += gpsd
11
define FEATURE_GPS_INSTALL_TARGET_CMDS
12
$(INSTALL) -D -m 0644 $(FEATURE_GPS_PKGDIR)/gpsd.default \
13
$(TARGET_DIR)/etc/default/gpsd
14
+endef
15
+
16
+# Install custom udev rules as a gpsd post-install hook to ensure
17
+# they are not overwritten by gpsd during parallel or incremental builds.
18
+define FEATURE_GPS_INSTALL_UDEV_RULES
19
$(INSTALL) -D -m 0644 $(FEATURE_GPS_PKGDIR)/25-gpsd.rules \
20
$(TARGET_DIR)/usr/lib/udev/rules.d/25-gpsd.rules
21
endef
22
+GPSD_POST_INSTALL_TARGET_HOOKS += FEATURE_GPS_INSTALL_UDEV_RULES
23
24
define FEATURE_GPS_LINUX_CONFIG_FIXUPS
25
$(call KCONFIG_SET_OPT,CONFIG_USB_ACM,m)
0 commit comments