Move buildroot to bsp directory.
This commit is contained in:
236
bsp/buildroot/package/gpsd/Config.in
Normal file
236
bsp/buildroot/package/gpsd/Config.in
Normal file
@@ -0,0 +1,236 @@
|
||||
comment "gpsd needs a toolchain w/ threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
|
||||
config BR2_PACKAGE_GPSD
|
||||
bool "gpsd"
|
||||
# Uses fork()
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
# Always tries to build a shared library
|
||||
depends on !BR2_STATIC_LIBS
|
||||
help
|
||||
gpsd is a service daemon that monitors one or more GPSes or AIS
|
||||
receivers attached to a host computer through serial or USB ports,
|
||||
making all data on the location/course/velocity of the sensors
|
||||
available to be queried on TCP port 2947 of the host computer.
|
||||
|
||||
The D-Bus interface is included if dbus-glib is enabled.
|
||||
|
||||
http://www.catb.org/gpsd/
|
||||
|
||||
if BR2_PACKAGE_GPSD
|
||||
|
||||
config BR2_PACKAGE_GPSD_DEVICES
|
||||
string "Where to look for GPSes"
|
||||
default "/dev/ttyS1"
|
||||
|
||||
menu "Features"
|
||||
|
||||
config BR2_PACKAGE_GPSD_CLIENT_DEBUG
|
||||
bool "client debugging support"
|
||||
|
||||
config BR2_PACKAGE_GPSD_OLDSTYLE
|
||||
bool "oldstyle (pre-JSON) protocol support"
|
||||
|
||||
config BR2_PACKAGE_GPSD_PROFILING
|
||||
bool "profiling support"
|
||||
depends on BR2_TOOLCHAIN_USES_GLIBC
|
||||
depends on !BR2_aarch64
|
||||
|
||||
comment "profiling support not available with uClibc-based toolchain"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
|
||||
config BR2_PACKAGE_GPSD_NTP_SHM
|
||||
bool "NTP time hinting support"
|
||||
|
||||
config BR2_PACKAGE_GPSD_PPS
|
||||
bool "PPS time syncing support"
|
||||
select BR2_PACKAGE_GPSD_NTP_SHM
|
||||
|
||||
config BR2_PACKAGE_GPSD_USER
|
||||
bool "GPSD privilege revocation user"
|
||||
config BR2_PACKAGE_GPSD_USER_VALUE
|
||||
string ""
|
||||
default "nobody"
|
||||
depends on BR2_PACKAGE_GPSD_USER
|
||||
|
||||
config BR2_PACKAGE_GPSD_GROUP
|
||||
bool "GPSD privilege revocation group"
|
||||
config BR2_PACKAGE_GPSD_GROUP_VALUE
|
||||
string ""
|
||||
default "nobody"
|
||||
depends on BR2_PACKAGE_GPSD_GROUP
|
||||
|
||||
config BR2_PACKAGE_GPSD_FIXED_PORT_SPEED
|
||||
bool "compile with fixed serial port speed"
|
||||
config BR2_PACKAGE_GPSD_FIXED_PORT_SPEED_VALUE
|
||||
string ""
|
||||
default "9600"
|
||||
depends on BR2_PACKAGE_GPSD_FIXED_PORT_SPEED
|
||||
|
||||
config BR2_PACKAGE_GPSD_MAX_CLIENT
|
||||
bool "compile with limited maximum clients"
|
||||
config BR2_PACKAGE_GPSD_MAX_CLIENT_VALUE
|
||||
string "compile with limited maximum clients"
|
||||
default "10"
|
||||
depends on BR2_PACKAGE_GPSD_MAX_CLIENT
|
||||
|
||||
config BR2_PACKAGE_GPSD_MAX_DEV
|
||||
bool "compile with maximum allowed devices"
|
||||
config BR2_PACKAGE_GPSD_MAX_DEV_VALUE
|
||||
string "compile with maximum allowed devices"
|
||||
default "2"
|
||||
depends on BR2_PACKAGE_GPSD_MAX_DEV
|
||||
|
||||
config BR2_PACKAGE_GPSD_RECONFIGURE
|
||||
bool "allow gpsd to change device settings"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GPSD_CONTROLSEND
|
||||
bool "allow gpsctl/gpsmon to change device settings"
|
||||
default y
|
||||
|
||||
config BR2_PACKAGE_GPSD_SQUELCH
|
||||
bool "squelch gpsd_report and gpsd_hexdump to save cpu"
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Protocols"
|
||||
|
||||
config BR2_PACKAGE_GPSD_AIVDM
|
||||
bool "Aivdm"
|
||||
help
|
||||
Aivdm support
|
||||
|
||||
config BR2_PACKAGE_GPSD_ASHTECH
|
||||
bool "Ashtech"
|
||||
help
|
||||
Ashtech support
|
||||
|
||||
config BR2_PACKAGE_GPSD_EARTHMATE
|
||||
bool "Earthmate"
|
||||
help
|
||||
DeLorme EarthMate Zodiac support
|
||||
|
||||
config BR2_PACKAGE_GPSD_EVERMORE
|
||||
bool "EverMore"
|
||||
help
|
||||
EverMore binary support
|
||||
|
||||
config BR2_PACKAGE_GPSD_FURY
|
||||
bool "Fury"
|
||||
help
|
||||
Jackson Labs Fury and Firefly support
|
||||
|
||||
config BR2_PACKAGE_GPSD_FV18
|
||||
bool "FV-18"
|
||||
help
|
||||
San Jose Navigation FV-18 support
|
||||
|
||||
config BR2_PACKAGE_GPSD_GARMIN
|
||||
bool "Garmin (kernel)"
|
||||
help
|
||||
Garmin kernel driver support
|
||||
|
||||
config BR2_PACKAGE_GPSD_GARMIN_SIMPLE_TXT
|
||||
bool "Garmin (simple text)"
|
||||
help
|
||||
Garmin Simple Text support
|
||||
|
||||
config BR2_PACKAGE_GPSD_GEOSTAR
|
||||
bool "Geostar"
|
||||
help
|
||||
Geostar Protocol support
|
||||
|
||||
config BR2_PACKAGE_GPSD_GPSCLOCK
|
||||
bool "GPSClock"
|
||||
help
|
||||
GPSClock support
|
||||
|
||||
config BR2_PACKAGE_GPSD_ITRAX
|
||||
bool "iTrax"
|
||||
help
|
||||
iTrax support
|
||||
|
||||
config BR2_PACKAGE_GPSD_MTK3301
|
||||
bool "MTK-3301"
|
||||
help
|
||||
Mediatek MTK-3301 support
|
||||
|
||||
config BR2_PACKAGE_GPSD_NAVCOM
|
||||
bool "Navcom"
|
||||
help
|
||||
Navcom binary support
|
||||
|
||||
config BR2_PACKAGE_GPSD_NMEA
|
||||
bool "NMEA"
|
||||
default y
|
||||
help
|
||||
Generic NMEA support
|
||||
|
||||
config BR2_PACKAGE_GPSD_NMEA2000
|
||||
bool "NMEA2000"
|
||||
select BR2_PACKAGE_GPSD_NAVCOM
|
||||
select BR2_PACKAGE_GPSD_AIVDM
|
||||
help
|
||||
NMEA2000/CAN support
|
||||
|
||||
config BR2_PACKAGE_GPSD_NTRIP
|
||||
bool "NTRIP"
|
||||
help
|
||||
NTRIP support
|
||||
|
||||
config BR2_PACKAGE_GPSD_OCEANSERVER
|
||||
bool "OceanServer"
|
||||
help
|
||||
OceanServer Digital Compass support
|
||||
|
||||
config BR2_PACKAGE_GPSD_ONCORE
|
||||
bool "OnCore"
|
||||
help
|
||||
OnCore support
|
||||
|
||||
config BR2_PACKAGE_GPSD_RTCM104V2
|
||||
bool "RTCM104 v2"
|
||||
help
|
||||
RTCM104 v2 support
|
||||
|
||||
config BR2_PACKAGE_GPSD_RTCM104V3
|
||||
bool "RTCM104 v3"
|
||||
help
|
||||
RTCM104 v3 support
|
||||
|
||||
config BR2_PACKAGE_GPSD_SIRF
|
||||
bool "SiRF"
|
||||
help
|
||||
SiRF binary support
|
||||
|
||||
config BR2_PACKAGE_GPSD_SUPERSTAR2
|
||||
bool "SuperStarII"
|
||||
help
|
||||
Novatel SuperStarII binary support
|
||||
|
||||
config BR2_PACKAGE_GPSD_TRIMBLE_TSIP
|
||||
bool "Trimble TSIP"
|
||||
help
|
||||
Trimble TSIP support
|
||||
|
||||
config BR2_PACKAGE_GPSD_TRIPMATE
|
||||
bool "TripMate"
|
||||
help
|
||||
Delorme TripMate support
|
||||
|
||||
config BR2_PACKAGE_GPSD_TRUE_NORTH
|
||||
bool "True North Technologies"
|
||||
help
|
||||
True North Technologies support
|
||||
|
||||
config BR2_PACKAGE_GPSD_UBX
|
||||
bool "UBX"
|
||||
help
|
||||
uBlox UBX binary support
|
||||
|
||||
endmenu
|
||||
|
||||
endif
|
||||
40
bsp/buildroot/package/gpsd/S50gpsd
Normal file
40
bsp/buildroot/package/gpsd/S50gpsd
Normal file
@@ -0,0 +1,40 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Starts the gps daemon.
|
||||
#
|
||||
|
||||
NAME=gpsd
|
||||
DAEMON=/usr/sbin/$NAME
|
||||
DEVICES=/dev/ttyS1
|
||||
PIDFILE=/var/run/$NAME.pid
|
||||
|
||||
start() {
|
||||
printf "Starting $NAME: "
|
||||
start-stop-daemon -S -q -p $PIDFILE --exec $DAEMON -- -P $PIDFILE $DEVICES && echo "OK" || echo "Failed"
|
||||
}
|
||||
stop() {
|
||||
printf "Stopping $NAME: "
|
||||
start-stop-daemon -K -q -p $PIDFILE && echo "OK" || echo "Failed"
|
||||
rm -f $PIDFILE
|
||||
}
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
start
|
||||
;;
|
||||
stop)
|
||||
stop
|
||||
;;
|
||||
restart|reload)
|
||||
restart
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $?
|
||||
2
bsp/buildroot/package/gpsd/gpsd.hash
Normal file
2
bsp/buildroot/package/gpsd/gpsd.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 03579af13a4d3fe0c5b79fa44b5f75c9f3cac6749357f1d99ce5d38c09bc2029 gpsd-3.16.tar.gz
|
||||
250
bsp/buildroot/package/gpsd/gpsd.mk
Normal file
250
bsp/buildroot/package/gpsd/gpsd.mk
Normal file
@@ -0,0 +1,250 @@
|
||||
################################################################################
|
||||
#
|
||||
# gpsd
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GPSD_VERSION = 3.16
|
||||
GPSD_SITE = http://download-mirror.savannah.gnu.org/releases/gpsd
|
||||
GPSD_LICENSE = BSD-3c
|
||||
GPSD_LICENSE_FILES = COPYING
|
||||
GPSD_INSTALL_STAGING = YES
|
||||
|
||||
GPSD_DEPENDENCIES = host-scons host-pkgconf
|
||||
|
||||
GPSD_LDFLAGS = $(TARGET_LDFLAGS)
|
||||
GPSD_CFLAGS = $(TARGET_CFLAGS)
|
||||
|
||||
GPSD_SCONS_ENV = $(TARGET_CONFIGURE_OPTS)
|
||||
|
||||
GPSD_SCONS_OPTS = \
|
||||
arch=$(ARCH)\
|
||||
prefix=/usr\
|
||||
sysroot=$(STAGING_DIR)\
|
||||
strip=no\
|
||||
python=no
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES),y)
|
||||
GPSD_DEPENDENCIES += ncurses
|
||||
else
|
||||
GPSD_SCONS_OPTS += ncurses=no
|
||||
endif
|
||||
|
||||
# Build libgpsmm if we've got C++
|
||||
ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
|
||||
GPSD_LDFLAGS += -lstdc++
|
||||
GPSD_SCONS_OPTS += libgpsmm=yes
|
||||
else
|
||||
GPSD_SCONS_OPTS += libgpsmm=no
|
||||
endif
|
||||
|
||||
# prevents from triggering GCC ICE
|
||||
# A bug was reported to the gcc bug tracker:
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68485
|
||||
ifeq ($(BR2_microblaze),y)
|
||||
GPSD_CFLAGS += -fno-expensive-optimizations -fno-schedule-insns
|
||||
endif
|
||||
|
||||
# Enable or disable Qt binding
|
||||
ifeq ($(BR2_PACKAGE_QT_NETWORK),y)
|
||||
GPSD_SCONS_ENV += QMAKE="$(QT_QMAKE)"
|
||||
GPSD_DEPENDENCIES += qt
|
||||
else
|
||||
GPSD_SCONS_OPTS += qt=no
|
||||
endif
|
||||
|
||||
# If libusb is available build it before so the package can use it
|
||||
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
||||
GPSD_DEPENDENCIES += libusb
|
||||
else
|
||||
GPSD_SCONS_OPTS += usb=no
|
||||
endif
|
||||
|
||||
# If bluetooth is available build it before so the package can use it
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
|
||||
GPSD_DEPENDENCIES += bluez_utils
|
||||
else
|
||||
GPSD_SCONS_OPTS += bluez=no
|
||||
endif
|
||||
|
||||
# If pps-tools is available, build it before so the package can use it
|
||||
# (HAVE_SYS_TIMEPPS_H).
|
||||
ifeq ($(BR2_PACKAGE_PPS_TOOLS),y)
|
||||
GPSD_DEPENDENCIES += pps-tools
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS_GLIB),y)
|
||||
GPSD_SCONS_OPTS += dbus_export=yes
|
||||
GPSD_DEPENDENCIES += dbus-glib
|
||||
endif
|
||||
|
||||
# Protocol support
|
||||
ifneq ($(BR2_PACKAGE_GPSD_ASHTECH),y)
|
||||
GPSD_SCONS_OPTS += ashtech=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_AIVDM),y)
|
||||
GPSD_SCONS_OPTS += aivdm=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_EARTHMATE),y)
|
||||
GPSD_SCONS_OPTS += earthmate=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_EVERMORE),y)
|
||||
GPSD_SCONS_OPTS += evermore=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_FURY),y)
|
||||
GPSD_SCONS_OPTS += fury=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_FV18),y)
|
||||
GPSD_SCONS_OPTS += fv18=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_GARMIN),y)
|
||||
GPSD_SCONS_OPTS += garmin=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_GARMIN_SIMPLE_TXT),y)
|
||||
GPSD_SCONS_OPTS += garmintxt=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_GEOSTAR),y)
|
||||
GPSD_SCONS_OPTS += geostar=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_GPSCLOCK),y)
|
||||
GPSD_SCONS_OPTS += gpsclock=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_ITRAX),y)
|
||||
GPSD_SCONS_OPTS += itrax=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_MTK3301),y)
|
||||
GPSD_SCONS_OPTS += mtk3301=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_NMEA),y)
|
||||
GPSD_SCONS_OPTS += nmea0183=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_NTRIP),y)
|
||||
GPSD_SCONS_OPTS += ntrip=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_NAVCOM),y)
|
||||
GPSD_SCONS_OPTS += navcom=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_NMEA2000),y)
|
||||
GPSD_SCONS_OPTS += nmea2000=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_OCEANSERVER),y)
|
||||
GPSD_SCONS_OPTS += oceanserver=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_ONCORE),y)
|
||||
GPSD_SCONS_OPTS += oncore=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_RTCM104V2),y)
|
||||
GPSD_SCONS_OPTS += rtcm104v2=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_RTCM104V3),y)
|
||||
GPSD_SCONS_OPTS += rtcm104v3=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_SIRF),y)
|
||||
GPSD_SCONS_OPTS += sirf=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_SUPERSTAR2),y)
|
||||
GPSD_SCONS_OPTS += superstar2=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_TRIMBLE_TSIP),y)
|
||||
GPSD_SCONS_OPTS += tsip=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_TRIPMATE),y)
|
||||
GPSD_SCONS_OPTS += tripmate=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_TRUE_NORTH),y)
|
||||
GPSD_SCONS_OPTS += tnt=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_UBX),y)
|
||||
GPSD_SCONS_OPTS += ublox=no
|
||||
endif
|
||||
|
||||
# Features
|
||||
ifneq ($(BR2_PACKAGE_GPSD_NTP_SHM),y)
|
||||
GPSD_SCONS_OPTS += ntpshm=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_PPS),y)
|
||||
GPSD_SCONS_OPTS += pps=no
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GPSD_SQUELCH),y)
|
||||
GPSD_SCONS_OPTS += squelch=yes
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_RECONFIGURE),y)
|
||||
GPSD_SCONS_OPTS += reconfigure=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_CONTROLSEND),y)
|
||||
GPSD_SCONS_OPTS += controlsend=no
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_OLDSTYLE),y)
|
||||
GPSD_SCONS_OPTS += oldstyle=no
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GPSD_PROFILING),y)
|
||||
GPSD_SCONS_OPTS += profiling=yes
|
||||
endif
|
||||
ifneq ($(BR2_PACKAGE_GPSD_CLIENT_DEBUG),y)
|
||||
GPSD_SCONS_OPTS += clientdebug=no
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GPSD_USER),y)
|
||||
GPSD_SCONS_OPTS += gpsd_user=$(BR2_PACKAGE_GPSD_USER_VALUE)
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GPSD_GROUP),y)
|
||||
GPSD_SCONS_OPTS += gpsd_group=$(BR2_PACKAGE_GPSD_GROUP_VALUE)
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GPSD_FIXED_PORT_SPEED),y)
|
||||
GPSD_SCONS_OPTS += fixed_port_speed=$(BR2_PACKAGE_GPSD_FIXED_PORT_SPEED_VALUE)
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GPSD_MAX_CLIENT),y)
|
||||
GPSD_SCONS_OPTS += limited_max_clients=$(BR2_PACKAGE_GPSD_MAX_CLIENT_VALUE)
|
||||
endif
|
||||
ifeq ($(BR2_PACKAGE_GPSD_MAX_DEV),y)
|
||||
GPSD_SCONS_OPTS += limited_max_devices=$(BR2_PACKAGE_GPSD_MAX_DEV_VALUE)
|
||||
endif
|
||||
|
||||
GPSD_SCONS_ENV += LDFLAGS="$(GPSD_LDFLAGS)" CFLAGS="$(GPSD_CFLAGS)"
|
||||
|
||||
define GPSD_BUILD_CMDS
|
||||
(cd $(@D); \
|
||||
$(GPSD_SCONS_ENV) \
|
||||
$(SCONS) \
|
||||
$(GPSD_SCONS_OPTS))
|
||||
endef
|
||||
|
||||
define GPSD_INSTALL_TARGET_CMDS
|
||||
(cd $(@D); \
|
||||
$(GPSD_SCONS_ENV) \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
$(SCONS) \
|
||||
$(GPSD_SCONS_OPTS) \
|
||||
install)
|
||||
endef
|
||||
|
||||
define GPSD_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/gpsd/S50gpsd $(TARGET_DIR)/etc/init.d/S50gpsd
|
||||
$(SED) 's,^DEVICES=.*,DEVICES=$(BR2_PACKAGE_GPSD_DEVICES),' $(TARGET_DIR)/etc/init.d/S50gpsd
|
||||
endef
|
||||
|
||||
define GPSD_INSTALL_STAGING_CMDS
|
||||
(cd $(@D); \
|
||||
$(GPSD_SCONS_ENV) \
|
||||
DESTDIR=$(STAGING_DIR) \
|
||||
$(SCONS) \
|
||||
$(GPSD_SCONS_OPTS) \
|
||||
install)
|
||||
endef
|
||||
|
||||
# After installing the udev rule, make it writable so that this
|
||||
# package can be re-built/re-installed.
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
define GPSD_INSTALL_UDEV_RULES
|
||||
(cd $(@D); \
|
||||
$(GPSD_SCONS_ENV) \
|
||||
DESTDIR=$(TARGET_DIR) \
|
||||
$(SCONS) \
|
||||
$(GPSD_SCONS_OPTS) \
|
||||
udev-install)
|
||||
chmod u+w $(TARGET_DIR)/lib/udev/rules.d/25-gpsd.rules
|
||||
endef
|
||||
|
||||
GPSD_POST_INSTALL_TARGET_HOOKS += GPSD_INSTALL_UDEV_RULES
|
||||
endif
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user