mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-11-12 13:13:02 +03:00
Merge pull request #297 from MetaDark/fix-dtb-detection
kernel-builder: Fix detecting dtb support (after nixpkgs#110544)
This commit is contained in:
commit
fc65d0a89b
@ -148,7 +148,7 @@ let
|
||||
exec ${buildPackages.pkgconfig}/bin/${buildPackages.pkgconfig.targetPrefix}pkg-config "$@"
|
||||
'';
|
||||
|
||||
hasDTB = platform ? kernelDTB && platform.kernelDTB;
|
||||
hasDTB = platform.linux-kernel ? DTB && platform.linux-kernel.DTB;
|
||||
kernelFileExtension = if isCompressed != false then ".${isCompressed}" else "";
|
||||
kernelTarget = if platform.linux-kernel.target == "Image"
|
||||
then "${platform.linux-kernel.target}${kernelFileExtension}"
|
||||
|
Loading…
Reference in New Issue
Block a user