DistroKit Mailinglist
 help / color / mirror / Atom feed
From: "Jan Lübbe" <jlu@pengutronix.de>
To: Roland Hieber <rhi@pengutronix.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH 6/6] scripts: update-diffs-v7a.sh: fix ptxdist path
Date: Tue, 06 Sep 2022 11:58:53 +0200	[thread overview]
Message-ID: <58d1428ba9ab63a92f4b3be01bc7b70c89780d9a.camel@pengutronix.de> (raw)
In-Reply-To: <20220905110709.1832516-6-rhi@pengutronix.de>

On Mon, 2022-09-05 at 13:07 +0200, Roland Hieber wrote:
> Use the same detection logic as in update-diffs-mips.sh, in case a
> different PTXdist version is to be used.
> 
> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
> ---
>  scripts/update-diffs-v7a.sh | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/scripts/update-diffs-v7a.sh b/scripts/update-diffs-v7a.sh
> index 0de34e4f0cde..e684ab697e72 100755
> --- a/scripts/update-diffs-v7a.sh
> +++ b/scripts/update-diffs-v7a.sh
> @@ -1,6 +1,14 @@
>  #!/bin/sh
>  
> +if [ -z "$PTXDIST" ]; then
> +       PTXDIST=ptxdist
> +else
> +       tput setaf 3 # yellow
> +       echo Note: using PTXDIST=$PTXDIST
> +       tput sgr 0   # back to normal
> +fi
> +
>  BAREBOXES="barebox-common barebox-am335x barebox-mx6 barebox-rpi2 barebox-
> vexpress"
>  for pkg in $BAREBOXES; do
> -       ptxdist/bin/ptxdist oldconfig $pkg
> +       $PTXDIST --platformconfig="configs/platform-mips/platformconfig" oldconfig $pkg
                                                      ^ this should be v7a
>  done

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |




  reply	other threads:[~2022-09-06  9:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-05 11:07 [DistroKit] [PATCH 1/6] doc: hardware: fix malformed table Roland Hieber
2022-09-05 11:07 ` [DistroKit] [PATCH 2/6] doc: hardware: fix referencing nonexisting documents in toctree Roland Hieber
2022-09-05 11:07 ` [DistroKit] [PATCH 3/6] doc: hardware: document v7a_noneon platform Roland Hieber
2022-09-05 11:07 ` [DistroKit] [PATCH 4/6] doc: fix some typos Roland Hieber
2022-09-05 11:07 ` [DistroKit] [PATCH 5/6] doc: intro: document helper scripts Roland Hieber
2022-09-05 11:07 ` [DistroKit] [PATCH 6/6] scripts: update-diffs-v7a.sh: fix ptxdist path Roland Hieber
2022-09-06  9:58   ` Jan Lübbe [this message]
2022-09-06 13:53     ` [DistroKit] [PATCH] fixup! doc: intro: document helper scripts Roland Hieber
2022-09-06 14:11       ` Robert Schwebel
2022-09-05 13:56 ` [DistroKit] [PATCH 1/6] doc: hardware: fix malformed table Robert Schwebel

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=58d1428ba9ab63a92f4b3be01bc7b70c89780d9a.camel@pengutronix.de \
    --to=jlu@pengutronix.de \
    --cc=distrokit@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