DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Oleksij Rempel <o.rempel@pengutronix.de>, distrokit@pengutronix.de
Subject: Re: [DistroKit] [PATCH v1 2/1] scripts: p-all: add mips platform
Date: Mon, 2 Mar 2020 10:37:38 +0100	[thread overview]
Message-ID: <20200302093738.rwkdn7xj2nqln7c4@pengutronix.de> (raw)
In-Reply-To: <20200302080421.d3qkquurxnzdsrhp@pengutronix.de>

On Mon, Mar 02, 2020 at 09:04:21AM +0100, Uwe Kleine-König wrote:
> On Fri, Feb 28, 2020 at 10:24:52AM +0100, Roland Hieber wrote:
> > This way it is less likely to get lost when doing a PTXdist migrate for
> > all platforms.  
> > ---
> >  scripts/p-all | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/scripts/p-all b/scripts/p-all
> > index bdef601ad99c..7eb9694e6e6e 100755
> > --- a/scripts/p-all
> > +++ b/scripts/p-all
> > @@ -7,7 +7,7 @@ else
> >  	echo Note: using PTXDIST=$PTXDIST
> >  	tput sgr 0   # back to normal
> >  fi
> > -PLATFORMS="v7a v8a rpi"
> > +PLATFORMS="v7a v8a rpi mips"
> 
> What about making this instead:
> 
> diff --git a/scripts/p-all b/scripts/p-all
> index bdef601ad99c..bb95ed265e19 100755
> --- a/scripts/p-all
> +++ b/scripts/p-all
> @@ -7,7 +7,7 @@ else
>         echo Note: using PTXDIST=$PTXDIST
>         tput sgr 0   # back to normal
>  fi
> -PLATFORMS="v7a v8a rpi"
> -for p in $PLATFORMS; do
> -       $PTXDIST --platformconfig=configs/platform-${p}/platformconfig "$@"
> +
> +for pcfg in configs/platform-*/platformconfig; do
> +       $PTXDIST --platformconfig="$pcfg" "$@"
>  done

LGTM.

 - Roland

-- 
Roland Hieber, Pengutronix e.K.          | r.hieber@pengutronix.de     |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

  reply	other threads:[~2020-03-02  9:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-28  5:11 [DistroKit] [PATCH v1] MIPS: ptxdist: version bump 2020.01.0 -> 2020.02.0 Oleksij Rempel
2020-02-28  9:24 ` [DistroKit] [PATCH v1 2/1] scripts: p-all: add mips platform Roland Hieber
2020-03-02  8:04   ` Uwe Kleine-König
2020-03-02  9:37     ` Roland Hieber [this message]
2020-03-05 16:36       ` Robert Schwebel
2020-03-05 16:36 ` [DistroKit] [PATCH v1] MIPS: ptxdist: version bump 2020.01.0 -> 2020.02.0 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=20200302093738.rwkdn7xj2nqln7c4@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=o.rempel@pengutronix.de \
    --cc=u.kleine-koenig@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