This refactoring reduces code duplication across i.MX93, i.MX8MP, and
i.MX8MQ platforms by extracting common build logic into parameterized
shared builders. This makes it easier to maintain and add new i.MX
platforms while ensuring consistency across all platforms.
- Don't fetch dotGit directory.
- Dot git dir gets different object packs when it is pulled from
different nixpkgs versions which causes hash mismatch.
- Patch Makefile not use git revision from .git.
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
Updated makeFlags as latest buildArmTrustedFirmware specifies CC and LD explicitly, which
doesn't work well with the nxp imx8mp-evk platform.
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>
The buildUBoot function is intended for internal use and is dedicated
for Raspberry Pi platforms. With latest nixpkgs it is causing
build failure in older uboot(prior to v2023.07) due to a Raspberry Pi patch.
Now this function is not used for the U-Boot build.
More Information:
https://github.com/NixOS/nixpkgs/pull/311614https://github.com/NixOS/nixpkgs/pull/146634
Signed-off-by: Ganga Ram <Ganga.Ram@tii.ae>