blob: f51fc8f76d5ef34f49ce514cfad6a48e8487484a [file] [log] [blame] [edit]
#!/bin/bash -x
set -uo pipefail
. op-build-env
for c in openpower/configs/*defconfig; do
PLATFORM=`basename $c _defconfig`
PLATFORM_DEFCONFIG=`basename $c`
echo $PLATFORM
ODIR=`mktemp -d`
op-build O=$ODIR $PLATFORM_DEFCONFIG
if [ $# -gt 0 ]; then
buildroot/utils/config --file $ODIR/.config "$@"
fi
op-build O=$ODIR olddefconfig
op-build O=$ODIR savedefconfig
rm -rf $ODIR
done
git diff --exit-code