DistroKit Mailinglist
 help / color / mirror / Atom feed
From: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Oleksij Rempel <o.rempel@pengutronix.de>,
	Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH] scripts/p-all: automatically build all available platfroms
Date: Thu,  5 Mar 2020 20:41:14 +0100	[thread overview]
Message-ID: <20200305194114.17712-1-u.kleine-koenig@pengutronix.de> (raw)

Instead of hardcoding the available platforms build for all actually
existing platformconfigs.

Effectively this adds mips.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
---
 scripts/p-all | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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
-- 
2.25.0


_______________________________________________
DistroKit mailing list
DistroKit@pengutronix.de

             reply	other threads:[~2020-03-05 19:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-05 19:41 Uwe Kleine-König [this message]
2020-03-05 20:35 ` 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=20200305194114.17712-1-u.kleine-koenig@pengutronix.de \
    --to=u.kleine-koenig@pengutronix.de \
    --cc=distrokit@pengutronix.de \
    --cc=o.rempel@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