packages/shells/uboot/default.nix

45 lines
579 B
Nix
Raw Normal View History

2024-08-09 05:42:11 +00:00
{
mkShell,
pkgsCross,
bc,
bison,
dtc,
flex,
gnutls,
libuuid,
ncurses,
openssl,
pkg-config,
python3,
swig,
}:
let
aarch64 = pkgsCross.aarch64-multiplatform;
2024-08-09 18:47:13 +00:00
aarch32 = pkgsCross.arm-embedded;
2024-08-09 05:42:11 +00:00
in
mkShell {
2024-08-09 18:47:13 +00:00
depsBuildBuild = [
aarch64.stdenv.cc
aarch32.stdenv.cc
];
2024-08-09 05:42:11 +00:00
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}";
}