Merge pull request #925 from rudis/master

kpatch-build: abort on unsupported options GCC_PLUGIN_LATENT_ENTROPY,…
This commit is contained in:
Joe Lawrence 2018-11-14 11:15:16 -05:00 committed by GitHub
commit f06f65666a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -715,8 +715,10 @@ else
CONFIG_UNWINDER_ORC=0
fi
# unsupported kernel option checking: CONFIG_DEBUG_INFO_SPLIT
# unsupported kernel option checking
grep -q "CONFIG_DEBUG_INFO_SPLIT=y" "$CONFIGFILE" && die "kernel option 'CONFIG_DEBUG_INFO_SPLIT' not supported"
grep -q "CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y" "$CONFIGFILE" && die "kernel option 'CONFIG_GCC_PLUGIN_LATENT_ENTROPY' not supported"
grep -q "CONFIG_GCC_PLUGIN_RANDSTRUCT=y" "$CONFIGFILE" && die "kernel option 'CONFIG_GCC_PLUGIN_RANDSTRUCT' not supported"
echo "Testing patch file(s)"
cd "$SRCDIR" || die