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 { };
|
||||
});
|
||||
|
||||
|
|
|
@ -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
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