mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
kernel: Allow kernel packages to specify a custom default defconfig
This commit is contained in:
parent
5b468ea6b1
commit
87a68c455e
@ -12,6 +12,9 @@
|
||||
, # The kernel version.
|
||||
version
|
||||
|
||||
, # Allows overriding the default defconfig
|
||||
defconfig ? null
|
||||
|
||||
, # Overrides to the kernel config.
|
||||
extraConfig ? ""
|
||||
|
||||
@ -85,7 +88,7 @@ let
|
||||
|
||||
platformName = hostPlatform.platform.name;
|
||||
# e.g. "defconfig"
|
||||
kernelBaseConfig = hostPlatform.platform.kernelBaseConfig;
|
||||
kernelBaseConfig = if defconfig != null then defconfig else hostPlatform.platform.kernelBaseConfig;
|
||||
# e.g. "bzImage"
|
||||
kernelTarget = hostPlatform.platform.kernelTarget;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user