devShells.uboot: init

This commit is contained in:
Artemis Tosini 2024-08-09 05:42:11 +00:00
parent ed447b0463
commit 44687da027
Signed by: artemist
GPG key ID: EE5227935FE3FF18
3 changed files with 42 additions and 1 deletions

View file

@ -41,6 +41,7 @@
armTrustedFirmware = pkgs.callPackage ./shells/armTrustedFirmware { };
plotter = pkgs.callPackage ./shells/plotter { };
ryujinx = pkgs.callPackage ./shells/ryujinx { };
uboot = pkgs.callPackage ./shells/uboot { };
zephyr = pkgs.callPackage ./shells/zephyr { };
});

View file

@ -9,7 +9,7 @@ let
aarch64 = pkgsCross.aarch64-multiplatform;
m0 = pkgsCross.arm-embedded;
in
mkShellNoCC {
mkShellNoCC {
depsBuildBuild = [
stdenv.cc
aarch64.stdenv.cc

40
shells/uboot/default.nix Normal file
View file

@ -0,0 +1,40 @@
{
mkShell,
pkgsCross,
bc,
bison,
dtc,
flex,
gnutls,
libuuid,
ncurses,
openssl,
pkg-config,
python3,
swig,
}:
let
aarch64 = pkgsCross.aarch64-multiplatform;
in
mkShell {
depsBuildBuild = [ aarch64.stdenv.cc ];
packages = [
bc
bison
dtc
flex
gnutls
libuuid
ncurses
openssl
pkg-config
python3
python3.pkgs.libfdt
python3.pkgs.pyelftools
python3.pkgs.setuptools
swig
];
CROSS_COMPILE = "${aarch64.stdenv.cc.targetPrefix}";
}