devShells.uboot: init
This commit is contained in:
parent
ed447b0463
commit
44687da027
|
@ -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 { };
|
||||
});
|
||||
|
||||
|
|
40
shells/uboot/default.nix
Normal file
40
shells/uboot/default.nix
Normal 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}";
|
||||
}
|
Loading…
Reference in a new issue