From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 07 Oct 2021 12:23:52 +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 1mYQZ6-0006ki-HM for lore@lore.pengutronix.de; Thu, 07 Oct 2021 12:23:52 +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 1mYQZ6-0001sX-4X; Thu, 07 Oct 2021 12:23:52 +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 1mYQUN-0004tk-Vh; Thu, 07 Oct 2021 12:19:00 +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 1mYQUN-0005zl-Ef; Thu, 07 Oct 2021 12:18:59 +0200 Received: from mol by dude03.red.stw.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mYQUN-00GTd8-Bj; Thu, 07 Oct 2021 12:18:59 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Thu, 7 Oct 2021 12:18:59 +0200 Message-Id: <20211007101859.3927103-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20210923133438.17528-1-m.grzeschik@pengutronix.de> References: <20210923133438.17528-1-m.grzeschik@pengutronix.de> MIME-Version: 1.0 Subject: Re: [ptxdist] [APPLIED] libusbgx: make schemes support selectable 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: Michael Grzeschik 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 457c551777da23dacc09d3e2b8b8b66301870da7. Michael [sent from post-receive hook] On Thu, 07 Oct 2021 12:18:59 +0200, Michael Grzeschik wrote: > We add an option to select schemes support. > > Signed-off-by: Michael Grzeschik > Message-Id: <20210923133438.17528-1-m.grzeschik@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/libusbgx.in b/rules/libusbgx.in > index 13252a3a7234..e576f842e566 100644 > --- a/rules/libusbgx.in > +++ b/rules/libusbgx.in > @@ -2,6 +2,7 @@ > > menuconfig LIBUSBGX > bool > + select LIBCONFIG if LIBUSBGX_SCHEMES > prompt "libusbgx " > help > libusbgx is a C library encapsulating the kernel USB gadget-configfs > @@ -9,6 +10,12 @@ menuconfig LIBUSBGX > > if LIBUSBGX > > +config LIBUSBGX_SCHEMES > + bool "enable schemes support" > + help > + With schemes support it is possible to export/import > + configs layout to/from declerative scheme files > + > config SHOW_GADGETS > bool "install show-gadget tool" > help > diff --git a/rules/libusbgx.make b/rules/libusbgx.make > index da2980d953fd..724d1a3d8fe4 100644 > --- a/rules/libusbgx.make > +++ b/rules/libusbgx.make > @@ -42,9 +42,9 @@ LIBUSBGX_CONF_ENV := $(CROSS_ENV) > LIBUSBGX_CONF_TOOL := autoconf > LIBUSBGX_CONF_OPT := \ > $(CROSS_AUTOCONF_USR) \ > - --without-libconfig \ > + --$(call ptx/wow, PTXCONF_LIBUSBGX_SCHEMES)-libconfig \ > --enable-examples \ > - --disable-gadget-schemes > + --$(call ptx/endis, PTXCONF_LIBUSBGX_SCHEMES)-gadget-schemes > > # ---------------------------------------------------------------------------- > # Target-Install _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de