rename config.hardware.dts.includes -> includePaths

(1) it's a better name
(2) I want to use `includes` to specify dtsi files
This commit is contained in:
Daniel Barlow
2024-12-17 17:34:04 +00:00
parent 6e6b8790eb
commit 44caefcd3b
11 changed files with 16 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ in
only for QEMU.
'';
};
includes = mkOption {
includePaths = mkOption {
default = [ ];
description = "List of directories to search for DTS includes (.dtsi files)";
type = types.listOf types.path;

View File

@@ -105,7 +105,7 @@ in
dtb = liminix.builders.dtb {
inherit (config.boot) commandLine;
dts = config.hardware.dts.src;
includes = config.hardware.dts.includes ++ [
includes = config.hardware.dts.includePaths ++ [
"${o.kernel.headers}/include"
];
};