blob: f51fc8f76d5ef34f49ce514cfad6a48e8487484a [file] [log] [blame]
Stewart Smith94800072018-04-10 17:56:52 -05001#!/bin/bash -x
2
3set -uo pipefail
4
5. op-build-env
6
7for 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 Kiwie47427e2020-04-16 13:31:16 -030013 if [ $# -gt 0 ]; then
14 buildroot/utils/config --file $ODIR/.config "$@"
15 fi
Stewart Smith94800072018-04-10 17:56:52 -050016 op-build O=$ODIR olddefconfig
17 op-build O=$ODIR savedefconfig
18 rm -rf $ODIR
19done
20
21git diff --exit-code