From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Thu, 23 Sep 2021 15:35:02 +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 1mTOsP-0003U0-UQ for lore@lore.pengutronix.de; Thu, 23 Sep 2021 15:35:01 +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 1mTOsP-0001yQ-LN; Thu, 23 Sep 2021 15:35:01 +0200 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTOs5-0001y9-46 for ptxdist@pengutronix.de; Thu, 23 Sep 2021 15:34:41 +0200 Received: from mgr by dude.hi.pengutronix.de with local (Exim 4.92) (envelope-from ) id 1mTOs4-0004b0-RW for ptxdist@pengutronix.de; Thu, 23 Sep 2021 15:34:40 +0200 From: Michael Grzeschik To: ptxdist@pengutronix.de Date: Thu, 23 Sep 2021 15:34:37 +0200 Message-Id: <20210923133438.17528-1-m.grzeschik@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [ptxdist] [PATCH v2 1/2] 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 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 We add an option to select schemes support. Signed-off-by: Michael Grzeschik --- rules/libusbgx.in | 7 +++++++ rules/libusbgx.make | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/rules/libusbgx.in b/rules/libusbgx.in index 13252a3a7..e576f842e 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 da2980d95..724d1a3d8 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 -- 2.30.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de