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:
parent
9e25d8a181
commit
b26883c988
|
@ -222,4 +222,17 @@ define GPSD_INSTALL_STAGING_CMDS
|
||||||
install)
|
install)
|
||||||
endef
|
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))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user