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>