mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Grzeschik <m.grzeschik@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] libusbgx: make schemes support selectable
Date: Thu,  7 Oct 2021 12:18:59 +0200	[thread overview]
Message-ID: <20211007101859.3927103-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20210923133438.17528-1-m.grzeschik@pengutronix.de>

Thanks, applied as 457c551777da23dacc09d3e2b8b8b66301870da7.

Michael

[sent from post-receive hook]

On Thu, 07 Oct 2021 12:18:59 +0200, Michael Grzeschik <m.grzeschik@pengutronix.de> wrote:
> We add an option to select schemes support.
> 
> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
> Message-Id: <20210923133438.17528-1-m.grzeschik@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> 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


      parent reply	other threads:[~2021-10-07 10:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-23 13:34 [ptxdist] [PATCH v2 1/2] " Michael Grzeschik
2021-09-23 13:34 ` [ptxdist] [PATCH v2 2/2] gt: add gadget-tool Michael Grzeschik
2021-09-23 14:56   ` [ptxdist] [PATCH] fixup! " Michael Grzeschik
2021-09-24  9:06     ` Roland Hieber
2021-09-29 15:12   ` [ptxdist] [PATCH v2 2/2] " Michael Olbrich
2021-10-07 10:18 ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211007101859.3927103-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=m.grzeschik@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox