linux/kernel/manual-config: Cleanup
This commit is contained in:
parent
98341e0bda
commit
f7b6f01da1
@ -51,6 +51,7 @@ in
|
|||||||
# The kernel .config file
|
# The kernel .config file
|
||||||
config,
|
config,
|
||||||
# Manually specified features the kernel supports
|
# Manually specified features the kernel supports
|
||||||
|
# If unspecified, this will be autodetected from the .config
|
||||||
features ? readFeatures config
|
features ? readFeatures config
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -100,7 +101,7 @@ stdenv.mkDerivation ({
|
|||||||
buildNativeInputs = [ perl nettools kmod ];
|
buildNativeInputs = [ perl nettools kmod ];
|
||||||
|
|
||||||
makeFlags = commonMakeFlags;
|
makeFlags = commonMakeFlags;
|
||||||
} // optionalAttrs features.modular {
|
} // optionalAttrs (features ? modular && features.modular) {
|
||||||
makeFlags = commonMakeFlags ++ [
|
makeFlags = commonMakeFlags ++ [
|
||||||
"MODLIB=\"$(out)/lib/modules/${modDirVersion}\""
|
"MODLIB=\"$(out)/lib/modules/${modDirVersion}\""
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user