gpsd: Enable systemd support based on DISTRO_FEATURE

Enabling the "systemd" feature will enable the socket activation
feature used by systemd. This way we can (re-)start the GPSD based
on the socket activation.
This commit is contained in:
Henning Heinold 2014-07-20 17:54:44 +02:00 committed by Holger Hans Peter Freyther
parent 018ef1a599
commit c134a3bbdd
1 changed files with 2 additions and 4 deletions

View File

@ -6,7 +6,7 @@ DEPENDS = "ncurses python"
#DEPENDS = "ncurses libusb1 python" #DEPENDS = "ncurses libusb1 python"
PROVIDES = "virtual/gpsd" PROVIDES = "virtual/gpsd"
PR = "r3.12" PR = "r3.13"
SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ SRC_URI = "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \ file://0002-SConstruct-respect-sysroot-also-in-SPLINTOPTS.patch \
@ -27,8 +27,6 @@ inherit scons update-rc.d
INITSCRIPT_NAME = "gpsd" INITSCRIPT_NAME = "gpsd"
INITSCRIPT_PARAMS = "defaults 35" INITSCRIPT_PARAMS = "defaults 35"
SYSTEMD_OESCONS ??= "false"
export STAGING_INCDIR export STAGING_INCDIR
export STAGING_LIBDIR export STAGING_LIBDIR
@ -59,7 +57,7 @@ EXTRA_OESCONS = " \
trip='false' \ trip='false' \
tripmate='false' \ tripmate='false' \
usb='false' \ usb='false' \
systemd='${SYSTEMD_OESCONS}' \ systemd='${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}' \
chrpath='false' \ chrpath='false' \
" "
# python='false' \ # python='false' \