Start work on armTrustedFirmware
This commit is contained in:
parent
c4a85fe74d
commit
ed447b0463
|
@ -38,6 +38,7 @@
|
|||
formatter = forAllSystems (pkgs: pkgs.nixfmt-rfc-style);
|
||||
|
||||
devShells = forAllSystems (pkgs: {
|
||||
armTrustedFirmware = pkgs.callPackage ./shells/armTrustedFirmware { };
|
||||
plotter = pkgs.callPackage ./shells/plotter { };
|
||||
ryujinx = pkgs.callPackage ./shells/ryujinx { };
|
||||
zephyr = pkgs.callPackage ./shells/zephyr { };
|
||||
|
|
27
shells/armTrustedFirmware/default.nix
Normal file
27
shells/armTrustedFirmware/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
mkShellNoCC,
|
||||
stdenv,
|
||||
pkgsCross,
|
||||
dtc,
|
||||
openssl,
|
||||
}:
|
||||
let
|
||||
aarch64 = pkgsCross.aarch64-multiplatform;
|
||||
m0 = pkgsCross.arm-embedded;
|
||||
in
|
||||
mkShellNoCC {
|
||||
depsBuildBuild = [
|
||||
stdenv.cc
|
||||
aarch64.stdenv.cc
|
||||
m0.stdenv.cc
|
||||
];
|
||||
packages = [
|
||||
dtc
|
||||
openssl
|
||||
];
|
||||
|
||||
CROSS_COMPILE = "${aarch64.stdenv.cc.targetPrefix}";
|
||||
M0_CROSS_COMPILE = "${m0.stdenv.cc.targetPrefix}";
|
||||
|
||||
hardeningDisable = [ "all" ];
|
||||
}
|
Loading…
Reference in a new issue