From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 05 Nov 2021 08:56:21 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1miu5F-00088Z-PP for lore@lore.pengutronix.de; Fri, 05 Nov 2021 08:56:21 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1miu5E-000426-P3; Fri, 05 Nov 2021 08:56:20 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1miu4O-0003I6-1H; Fri, 05 Nov 2021 08:55:28 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1miu4N-0006iF-H8; Fri, 05 Nov 2021 08:55:27 +0100 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1miu4N-00D4uo-9m; Fri, 05 Nov 2021 08:55:27 +0100 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Fri, 5 Nov 2021 08:55:27 +0100 Message-Id: <20211105075527.3115933-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211025130910.7257-3-ada@thorsis.com> References: <20211025130910.7257-3-ada@thorsis.com> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] gpsd: Make more prepare options configurable X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false Thanks, applied as 1de43bc97bee64fdece777c5498328722eede2f3. Michael [sent from post-receive hook] On Fri, 05 Nov 2021 08:55:26 +0100, Alexander Dahl wrote: > With squelch=no gpsd produces no logging output at all, not even when > using -D3 or higher as parameter. > > Signed-off-by: Alexander Dahl > Message-Id: <20211025130910.7257-3-ada@thorsis.com> > Signed-off-by: Michael Olbrich > > diff --git a/rules/gpsd.in b/rules/gpsd.in > index deebe6bbc0c7..f14fcb7cc510 100644 > --- a/rules/gpsd.in > +++ b/rules/gpsd.in > @@ -68,6 +68,19 @@ config GPSD_USB > > comment "Other options ---" > > +config GPSD_DEBUG > + bool > + prompt "debug support" > + help > + Client debug support, debug information in build, install > + gpsdebuginfo. > + > +config GPSD_LOGGING > + bool > + prompt "log/hexdump" > + help > + If unset: squelch gpsd_log/gpsd_hexdump to save cpu. > + > config GPSD_LIBGPSMM > bool > prompt "C++ class wrappers" > diff --git a/rules/gpsd.make b/rules/gpsd.make > index 75c497e632f7..c804cfebf2fb 100644 > --- a/rules/gpsd.make > +++ b/rules/gpsd.make > @@ -61,11 +61,12 @@ GPSD_CONF_OPT = \ > aivdm=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_AIVDM) \ > ashtech=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_ASHTECH) \ > bluez=$(call ptx/yesno, PTXCONF_GPSD_BLUEZ) \ > - clientdebug=no \ > + clientdebug=$(call ptx/yesno, PTXCONF_GPSD_DEBUG) \ > control_socket=yes \ > coveraging=no \ > dbus_export=$(call ptx/yesno, PTXCONF_GPSD_DBUS) \ > - debug=no \ > + debug=$(call ptx/yesno, PTXCONF_GPSD_DEBUG) \ > + debug_opt=false \ > earthmate=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_EARTHMATE) \ > evermore=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_EVERMORE) \ > force_global=yes \ > @@ -111,7 +112,7 @@ GPSD_CONF_OPT = \ > sirf=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_SIRF) \ > skytraq=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_SKYTRAQ) \ > socket_export=$(call ptx/yesno, PTXCONF_GPSD_SOCKET) \ > - squelch=yes \ > + squelch=$(call ptx/noyes, PTXCONF_GPSD_LOGGING) \ > superstar2=$(call ptx/yesno, PTXCONF_GPSD_DRIVER_SUPERSTAR2) \ > sysconfdir=/etc \ > systemd=$(call ptx/yesno, PTXCONF_GPSD_SYSTEMD) \ > @@ -184,6 +185,9 @@ endif > ifdef PTXCONF_GPSD_PYTHON > @$(call install_glob, gpsd, 0, 0, -, \ > /usr/lib/python$(PYTHON3_MAJORMINOR), *.py) > +endif > +ifdef PTXCONF_GPSD_DEBUG > + @$(call install_copy, gpsd, 0, 0, 0755, -, /usr/bin/gpsdebuginfo) > endif > @$(call install_finish, gpsd) > _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de