mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-12-01 20:46:12 +01:00
1e34631c1a
Signed-off-by: main <magic_rb@redalder.org>
23 lines
714 B
Nix
23 lines
714 B
Nix
final: prev:
|
|
{ magic_rb = prev.magic_rb or {} // {
|
|
uboot-clara-hd = with prev;
|
|
let crossPkgs =
|
|
import prev.src
|
|
{ crossSystem.config = "arm-linux-gnueabihf";
|
|
};
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "uboot-clara-hd";
|
|
version = "??";
|
|
src = fetchFromGitHub
|
|
{ owner = "akemnade";
|
|
repo = "u-boot-fslc";
|
|
rev = "2021.04+fslc";
|
|
sha256 = "sha256-P4aT6BX875sSIRLrk6BKfgkdBGRD8UbIINRf6PdG4hA";
|
|
};
|
|
nativeBuildInputs = [ bison flex crossPkgs.stdenv.cc ];
|
|
makeFlags = "ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- mx6sllclarahd_defconfig";
|
|
};
|
|
};
|
|
}
|