kernel: make some common-config options optional for grsec
Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
parent
453f93cc92
commit
b5b434c98a
|
@ -280,17 +280,17 @@ with stdenv.lib;
|
||||||
''}
|
''}
|
||||||
|
|
||||||
# Virtualisation.
|
# Virtualisation.
|
||||||
PARAVIRT y
|
PARAVIRT? y
|
||||||
${if versionAtLeast version "3.10" then ''
|
${if versionAtLeast version "3.10" then ''
|
||||||
HYPERVISOR_GUEST y
|
HYPERVISOR_GUEST y
|
||||||
'' else ''
|
'' else ''
|
||||||
PARAVIRT_GUEST y
|
PARAVIRT_GUEST? y
|
||||||
''}
|
''}
|
||||||
KVM_GUEST y
|
KVM_GUEST? y
|
||||||
${optionalString (versionOlder version "3.7") ''
|
${optionalString (versionOlder version "3.7") ''
|
||||||
KVM_CLOCK y
|
KVM_CLOCK? y
|
||||||
''}
|
''}
|
||||||
XEN y
|
XEN? y
|
||||||
XEN_DOM0? y
|
XEN_DOM0? y
|
||||||
KSM y
|
KSM y
|
||||||
${optionalString (!stdenv.is64bit) ''
|
${optionalString (!stdenv.is64bit) ''
|
||||||
|
|
Loading…
Reference in New Issue