move dts config from kernel to boot

The kernel does not need to know about the DTS. I am prepared
to be very slightly injured on this hill.
This commit is contained in:
Daniel Barlow
2023-02-18 15:13:19 +00:00
parent 17ce917af8
commit 817c3793d4
5 changed files with 32 additions and 30 deletions

View File

@@ -23,8 +23,8 @@ in
inherit (config.kernel) config src extraPatchPhase;
};
dtb = (callPackage ../kernel/dtb.nix {}) {
dts = config.kernel.dts.src;
includes = config.kernel.dts.includes ++ [
dts = config.boot.dts.src;
includes = config.boot.dts.includes ++ [
"${kernel.headers}/include"
];
};