Stewart Smith | 9480007 | 2018-04-10 17:56:52 -0500 | [diff] [blame] | 1 | #!/bin/bash -x |
2 | |||||
3 | set -uo pipefail | ||||
4 | |||||
5 | . op-build-env | ||||
6 | |||||
7 | for c in openpower/configs/*defconfig; do | ||||
8 | PLATFORM=`basename $c _defconfig` | ||||
9 | PLATFORM_DEFCONFIG=`basename $c` | ||||
10 | echo $PLATFORM | ||||
11 | ODIR=`mktemp -d` | ||||
12 | op-build O=$ODIR $PLATFORM_DEFCONFIG | ||||
13 | op-build O=$ODIR olddefconfig | ||||
14 | op-build O=$ODIR savedefconfig | ||||
15 | rm -rf $ODIR | ||||
16 | done | ||||
17 | |||||
18 | git diff --exit-code |