DistroKit Mailinglist
 help / color / mirror / Atom feed
* [DistroKit] [PATCH] scripts/p-all: automatically build all available platfroms
@ 2020-03-05 19:41 Uwe Kleine-König
  2020-03-05 20:35 ` Robert Schwebel
  0 siblings, 1 reply; 2+ messages in thread
From: Uwe Kleine-König @ 2020-03-05 19:41 UTC (permalink / raw)
  To: distrokit; +Cc: Oleksij Rempel, Roland Hieber

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-03-05 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-05 19:41 [DistroKit] [PATCH] scripts/p-all: automatically build all available platfroms Uwe Kleine-König
2020-03-05 20:35 ` Robert Schwebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox