forked from mirrors/nixpkgs
ChromiumOS kernel option fixup
This commit is contained in:
parent
0ee75214f3
commit
9d03355bed
|
@ -478,8 +478,10 @@ with stdenv.lib;
|
||||||
''}
|
''}
|
||||||
${optionalString (versionAtLeast version "3.7") ''
|
${optionalString (versionAtLeast version "3.7") ''
|
||||||
MEDIA_USB_SUPPORT y
|
MEDIA_USB_SUPPORT y
|
||||||
|
${optionalString (!(features.chromiumos or false)) ''
|
||||||
MEDIA_PCI_SUPPORT y
|
MEDIA_PCI_SUPPORT y
|
||||||
''}
|
''}
|
||||||
|
''}
|
||||||
|
|
||||||
# Our initrd init uses shebang scripts, so can't be modular.
|
# Our initrd init uses shebang scripts, so can't be modular.
|
||||||
${optionalString (versionAtLeast version "3.10") ''
|
${optionalString (versionAtLeast version "3.10") ''
|
||||||
|
|
Loading…
Reference in a new issue