From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 11 Jun 2021 11:13:51 +0200 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 1lrdEd-00031u-68 for lore@lore.pengutronix.de; Fri, 11 Jun 2021 11:13:51 +0200 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 1lrdEc-0007z0-Tn; Fri, 11 Jun 2021 11:13:50 +0200 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 1lrdE5-0007wg-5W; Fri, 11 Jun 2021 11:13:17 +0200 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 1lrdE4-0007UM-M6; Fri, 11 Jun 2021 11:13:16 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1lrdE4-007Jna-Ku; Fri, 11 Jun 2021 11:13:16 +0200 Date: Fri, 11 Jun 2021 11:13:16 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Message-ID: <20210611091316.GE839947@pengutronix.de> Mail-Followup-To: ptxdist@pengutronix.de, Bastian Krause References: <20210608161421.25017-1-bst@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210608161421.25017-1-bst@pengutronix.de> X-Sent-From: Pengutronix Hildesheim X-URL: http://www.pengutronix.de/ X-IRC: #ptxdist @freenode X-Accept-Language: de,en X-Accept-Content-Type: text/plain User-Agent: Mutt/1.10.1 (2018-07-13) Subject: Re: [ptxdist] [PATCH] grpc: add option to enable C# extension 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: Bastian Krause 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 On Tue, Jun 08, 2021 at 06:14:21PM +0200, Bastian Krause wrote: > Signed-off-by: Bastian Krause > --- > rules/grpc.in | 10 +++++++++- > rules/grpc.make | 6 +++++- > 2 files changed, 14 insertions(+), 2 deletions(-) > > diff --git a/rules/grpc.in b/rules/grpc.in > index d3ae4efaf..2c61c36e2 100644 > --- a/rules/grpc.in > +++ b/rules/grpc.in > @@ -1,6 +1,6 @@ > ## SECTION=system_libraries > > -config GRPC > +menuconfig GRPC With menuconfig, the prompt needs some padding spaces at the end to align the '-->' in 'ptxdist menuconfig'. Michael > tristate > select HOST_CMAKE > select HOST_GRPC > @@ -18,3 +18,11 @@ config GRPC > help > gRPC is a modern, open source, high-performance remote procedure > call (RPC) framework. > + > +if GRPC > + > +config GRPC_CSHARP_EXTENSION > + bool > + prompt "C# extension" > + > +endif > diff --git a/rules/grpc.make b/rules/grpc.make > index 1f1b7cf70..85032aafb 100644 > --- a/rules/grpc.make > +++ b/rules/grpc.make > @@ -38,7 +38,7 @@ GRPC_CONF_OPT := \ > -DCMAKE_CXX_FLAGS='-Wno-error=ignored-qualifiers' \ > -DgRPC_BACKWARDS_COMPATIBILITY_MODE=OFF \ > -DgRPC_BENCHMARK_PROVIDER=none \ > - -DgRPC_BUILD_CSHARP_EXT=OFF \ > + -DgRPC_BUILD_CSHARP_EXT=$(call ptx/onoff, PTXCONF_GRPC_CSHARP_EXTENSION) \ > -DgRPC_BUILD_TESTS=OFF \ > -D_gRPC_CARES_LIBRARIES=cares \ > -DgRPC_CARES_PROVIDER=none \ > @@ -84,6 +84,10 @@ $(STATEDIR)/grpc.targetinstall: > @$(call install_lib, grpc, 0, 0, 0644, libgrpc) > @$(call install_lib, grpc, 0, 0, 0644, libgrpc++) > > +ifdef PTXCONF_GRPC_CSHARP_EXTENSION > + @$(call install_lib, grpc, 0, 0, 0644, libgrpc_csharp_ext) > +endif > + > @$(call install_finish, grpc) > > @$(call touch) > -- > 2.29.2 > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de > To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de > -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de