Add kpatch flags

Now that we have the rest of the flags hooked up, go ahead
and build with the kpatch flags. This should have a minimal
effect at runtime.
This commit is contained in:
Laura Abbott 2019-11-06 13:07:19 -05:00
parent d6b81a036f
commit b8cf3e7d64
1 changed files with 5 additions and 0 deletions

View File

@ -1526,6 +1526,11 @@ BuildKernel() {
KCFLAGS="%{?kcflags}"
# add kpatch flags for base kernel
if [ "$Flavour" == "" ]; then
KCFLAGS="$KCFLAGS %{?kpatch_kcflags}"
fi
%{make} ARCH=$Arch olddefconfig >/dev/null
# This ensures build-ids are unique to allow parallel debuginfo