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.
|
, # The kernel version.
|
||||||
version
|
version
|
||||||
|
|
||||||
|
, # Allows overriding the default defconfig
|
||||||
|
defconfig ? null
|
||||||
|
|
||||||
, # Overrides to the kernel config.
|
, # Overrides to the kernel config.
|
||||||
extraConfig ? ""
|
extraConfig ? ""
|
||||||
|
|
||||||
@ -85,7 +88,7 @@ let
|
|||||||
|
|
||||||
platformName = hostPlatform.platform.name;
|
platformName = hostPlatform.platform.name;
|
||||||
# e.g. "defconfig"
|
# e.g. "defconfig"
|
||||||
kernelBaseConfig = hostPlatform.platform.kernelBaseConfig;
|
kernelBaseConfig = if defconfig != null then defconfig else hostPlatform.platform.kernelBaseConfig;
|
||||||
# e.g. "bzImage"
|
# e.g. "bzImage"
|
||||||
kernelTarget = hostPlatform.platform.kernelTarget;
|
kernelTarget = hostPlatform.platform.kernelTarget;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user