mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: Re: [ptxdist] [APPLIED] templates: don't generate prompt for hosttools_noprompt packages
Date: Fri,  2 Jun 2023 09:17:38 +0200	[thread overview]
Message-ID: <20230602071738.1498872-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20230524210827.3137666-1-rhi@pengutronix.de>

Thanks, applied as 7a44472d11b0a49cac39581762c1467eae62e71c.

Michael

[sent from post-receive hook]

On Fri, 02 Jun 2023 09:17:38 +0200, Roland Hieber <rhi@pengutronix.de> wrote:
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> Message-Id: <20230524210827.3137666-1-rhi@pengutronix.de>
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/templates/template-class-existing-target-in b/rules/templates/template-class-existing-target-in
> index d563fb7bb657..b1c8e71023bc 100644
> --- a/rules/templates/template-class-existing-target-in
> +++ b/rules/templates/template-class-existing-target-in
> @@ -2,6 +2,4 @@
>  
>  config @CLASS@@PACKAGE@
>  	tristate
> -@DEFAULT@@SELECT@	prompt "@package@"
> -	help
> -	  FIXME
> +@DEFAULT@@SELECT@@PROMPT@
> diff --git a/rules/templates/template-class-in b/rules/templates/template-class-in
> index d563fb7bb657..b1c8e71023bc 100644
> --- a/rules/templates/template-class-in
> +++ b/rules/templates/template-class-in
> @@ -2,6 +2,4 @@
>  
>  config @CLASS@@PACKAGE@
>  	tristate
> -@DEFAULT@@SELECT@	prompt "@package@"
> -	help
> -	  FIXME
> +@DEFAULT@@SELECT@@PROMPT@
> diff --git a/scripts/lib/ptxd_lib_template.sh b/scripts/lib/ptxd_lib_template.sh
> index d77c4a73be8c..8d1e22c80ade 100644
> --- a/scripts/lib/ptxd_lib_template.sh
> +++ b/scripts/lib/ptxd_lib_template.sh
> @@ -113,6 +113,14 @@ ptxd_template_read_section() {
>  	section_name="${1:-project_specific}"
>      fi
>      ptxd_template_read "enter package section" section "${section_name}"
> +
> +    export PROMPT='	prompt "'${package}'"
> +	help
> +	  FIXME
> +'
> +    case "${section}" in
> +	hosttools_noprompt*) PROMPT="";;
> +    esac
>  }
>  export -f ptxd_template_read_section
>  



  reply	other threads:[~2023-06-02  7:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-15  8:03 [ptxdist] [PATCH 1/2] templates: generate 'default y if ALLYES' for host packages Roland Hieber
2023-05-15  8:03 ` [ptxdist] [PATCH 2/2] templates: set default section to hosttools_noprompt " Roland Hieber
2023-05-17 12:39   ` Michael Olbrich
2023-05-24 21:08     ` [ptxdist] [PATCH 3/2] templates: don't generate prompt for hosttools_noprompt packages Roland Hieber
2023-06-02  7:17       ` Michael Olbrich [this message]
2023-06-02  7:17   ` [ptxdist] [APPLIED] templates: set default section to hosttools_noprompt for host packages Michael Olbrich
2023-06-02  7:17 ` [ptxdist] [APPLIED] templates: generate 'default y if ALLYES' " Michael Olbrich

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=20230602071738.1498872-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    --cc=rhi@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