summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRoland Hieber <rhi@pengutronix.de>2019-03-11 00:40:35 +0100
committerRobert Schwebel <r.schwebel@pengutronix.de>2019-03-11 06:47:41 +0100
commite7887ded5f30b70eabb872d9daee578fc12333e2 (patch)
tree9218ae8b57b1b206742083343e0e6c5c6e26b301 /scripts
parentd57eeee6ebc7e065907a0f92000673bce19d4325 (diff)
downloadDistroKit-e7887ded5f30b70eabb872d9daee578fc12333e2.tar.gz
DistroKit-e7887ded5f30b70eabb872d9daee578fc12333e2.tar.xz
scripts: add helper to run PTXdist on all platformconfigs
This makes it easier not to forget some platforms e.g. when doing a ptxdist migrate. Signed-off-by: Roland Hieber <rhi@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/p-all6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/p-all b/scripts/p-all
new file mode 100755
index 0000000..238a6a7
--- /dev/null
+++ b/scripts/p-all
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Run ptxdist on all platformconfigs
+PLATFORMS="v7a v8a rpi"
+for p in $PLATFORMS; do
+ ptxdist --platformconfig=configs/platform-${p}/platformconfig "$@"
+done