mio-ops/hardware/odroid-hc4/overlays/uboot/overlay.nix

23 lines
834 B
Nix
Raw Normal View History

2021-10-20 06:22:09 +00:00
final: prev:
let
platform = final.lib.systems.examples.aarch64-multiplatform // {
2021-11-16 04:57:23 +00:00
gcc = { arch = "armv8-a+crypto"; };
2021-10-20 06:22:09 +00:00
};
arm64 = final.pkgsCross.aarch64-embedded;
arm = final.pkgsCross.arm-embedded;
2021-11-16 04:57:23 +00:00
uboot-hardkernel =
arm64.callPackage ./hardkernel.nix { arm-gcc49 = arm.buildPackages.gcc49; };
with-crypto = import final.path { crossSystem = platform; };
2021-10-20 06:22:09 +00:00
meson64-tools = with-crypto.buildPackages.callPackage ./meson64-tools.nix { };
blx_fix = arm64.buildPackages.callPackage ./blx_fix.nix { };
uboot = arm64.callPackage ./u-boot.nix {
inherit uboot-hardkernel meson64-tools blx_fix;
};
2021-11-16 04:57:23 +00:00
in {
2021-10-20 06:22:09 +00:00
uboot-hardkernel = uboot;
ubootTools-hardkernel = final.buildPackages.ubootTools;
buildPackages = prev.buildPackages // {
ubootTools-hardkernel = final.buildPackages.buildPackages.ubootTools;
};
}