From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Roland Hieber Date: Wed, 22 Jul 2020 11:53:43 +0200 Message-Id: <20200722095343.16640-3-rhi@pengutronix.de> In-Reply-To: <20200722095343.16640-1-rhi@pengutronix.de> References: <20200722095130.fw5rclsoneafuqpt@pengutronix.de> <20200722095343.16640-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 3/3] gpsd: make GPSD_SYSTEMD promptless and fix dependency List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Cc: Roland Hieber The systemd support code is only a few lines of code and can be compiled unconditionally if systemd is available anyway. For that to work, systemd must obviously have been installed first. Signed-off-by: Roland Hieber --- * v1 -> v2: rework after feedback from mol --- rules/gpsd.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rules/gpsd.in b/rules/gpsd.in index 6d1db1495f3f..b69570af0f49 100644 --- a/rules/gpsd.in +++ b/rules/gpsd.in @@ -14,6 +14,7 @@ menuconfig GPSD select DBUS_GLIB if GPSD_DBUS select PYTHON3 if GPSD_PYTHON select PYSERIAL3 if GPSD_PYSERIAL + select SYSTEMD if GPSD_SYSTEMD prompt "gpsd " help gpsd is a daemon that listens to a GPS or Loran receiver @@ -31,6 +32,10 @@ config GPSD_NCURSES config GPSD_PYSERIAL bool +config GPSD_SYSTEMD + bool + default INITMETHOD_SYSTEMD + comment "time service ---" config GPSD_OSCILLATOR @@ -63,11 +68,6 @@ config GPSD_USB comment "Other options ---" -config GPSD_SYSTEMD - bool - depends on SYSTEMD - prompt "systemd" - config GPSD_RECONFIGURE bool prompt "enable reconfigure" -- 2.27.0 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de