add hardware.dts.includes option

This commit is contained in:
Daniel Barlow
2024-12-17 20:36:14 +00:00
parent 44caefcd3b
commit b52133a28b
4 changed files with 24 additions and 6 deletions

View File

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