[Backport release-26.05] armTrustedFirmwareTools: include dtc and gcc in nativeBuildInputs to fix darwin build (#523866)

This commit is contained in:
Michael Daniels
2026-05-25 16:45:50 +00:00
committed by GitHub

View File

@@ -2,6 +2,8 @@
lib,
stdenv,
fetchFromGitHub,
dtc,
gcc,
openssl,
pkgsCross,
buildPackages,
@@ -61,6 +63,10 @@ let
nativeBuildInputs = [
pkgsCross.arm-embedded.stdenv.cc # For Cortex-M0 firmware in RK3399
openssl # For fiptool
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
dtc
gcc
];
# Make the new toolchain guessing (from 2.14+) happy