diff options
author | Uwe Kleine-König <u.kleine-koenig@pengutronix.de> | 2020-03-05 20:41:14 +0100 |
---|---|---|
committer | Robert Schwebel <r.schwebel@pengutronix.de> | 2020-03-05 22:37:45 +0100 |
commit | 527c61356cca836e7274b713ca9ba48e636c86b2 (patch) | |
tree | a4ebb59678719082365dea91ca8f824cfb35caa8 | |
parent | 3dd5c0fe34cee8ebbcddbeb6fbe3b14ea259a89c (diff) | |
download | DistroKit-527c61356cca836e7274b713ca9ba48e636c86b2.tar.gz DistroKit-527c61356cca836e7274b713ca9ba48e636c86b2.tar.xz |
scripts/p-all: automatically build all available platforms
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>
-rwxr-xr-x | scripts/p-all | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/p-all b/scripts/p-all index bdef601..bb95ed2 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 |