mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-06 09:58:47 +08:00
optee-builder: use stdenv as opposed to gccStdenv
should be the same in our use case, but stdenv is more standard.
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
}:
|
||||
let
|
||||
inherit (pkgs.buildPackages) python3;
|
||||
toolchain = pkgs.gccStdenv.cc;
|
||||
binutils = pkgs.gccStdenv.cc.bintools.bintools_bin;
|
||||
cpp = pkgs.gccStdenv.cc;
|
||||
toolchain = pkgs.stdenv.cc;
|
||||
binutils = pkgs.stdenv.cc.bintools.bintools_bin;
|
||||
cpp = pkgs.stdenv.cc;
|
||||
in
|
||||
pkgs.stdenv.mkDerivation {
|
||||
pname = "imx95-optee-os";
|
||||
|
||||
@@ -13,9 +13,9 @@
|
||||
}:
|
||||
let
|
||||
inherit (pkgs.buildPackages) python3;
|
||||
toolchain = pkgs.gccStdenv.cc;
|
||||
binutils = pkgs.gccStdenv.cc.bintools.bintools_bin;
|
||||
cpp = pkgs.gccStdenv.gcc;
|
||||
toolchain = pkgs.stdenv.cc;
|
||||
binutils = pkgs.stdenv.cc.bintools.bintools_bin;
|
||||
cpp = pkgs.stdenv.gcc;
|
||||
|
||||
# Determine PLATFORM and PLATFORM_FLAVOR from platformFlavor
|
||||
# Format can be either "imx-mx93evk" (full platform string) or "mx8mpevk" (just flavor, platform is "imx")
|
||||
|
||||
Reference in New Issue
Block a user