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 |
Klaus Heinrich Kiwi | e47427e | 2020-04-16 13:31:16 -0300 | [diff] [blame] | 13 | if [ $# -gt 0 ]; then |
| 14 | buildroot/utils/config --file $ODIR/.config "$@" |
| 15 | fi |
Stewart Smith | 9480007 | 2018-04-10 17:56:52 -0500 | [diff] [blame] | 16 | op-build O=$ODIR olddefconfig |
| 17 | op-build O=$ODIR savedefconfig |
| 18 | rm -rf $ODIR |
| 19 | done |
| 20 | |
| 21 | git diff --exit-code |