mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
gpsd: install udev rules, if appropriate
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
committed by
Peter Korsgaard
parent
9e25d8a181
commit
b26883c988
@@ -222,4 +222,17 @@ define GPSD_INSTALL_STAGING_CMDS
|
||||
install)
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
|
||||
define GPSD_INSTALL_UDEV_RULES
|
||||
(cd $(@D); \
|
||||
$(GPSD_SCONS_ENV) \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
$(SCONS) \
|
||||
$(GPSD_SCONS_OPTS) \
|
||||
udev-install)
|
||||
endef
|
||||
|
||||
GPSD_POST_INSTALL_TARGET_HOOKS += GPSD_INSTALL_UDEV_RULES
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
||||
Reference in New Issue
Block a user