[edk2-devel] [PATCH edk2-platforms 0/5] Build fixes for Arm/Hisilicon platforms

PierreGondois pierre.gondois at arm.com
Wed Jan 25 10:27:57 UTC 2023


From: Pierre Gondois <pierre.gondois at arm.com>

These patches were only compile tested:
- [1/5] Platform/ARM/SgiPkg: Remove '-march=armv8-a+nofp' flag
- [2/5] Platform/StandaloneMm: Remove '-march=armv8-a+nofp' flag
but as described in the commit message of [1/5], I was told the
flag was not necessary anymore.

Building some of the Hilisicon platforms still fails.
Building:
- D03.dsc
- D05.dsc
Command:
  build -a AARCH64 -t GCC5 -p Platform/Hisilicon/D05/D05.dsc
Gives:
  : error FFFD: Cyclic dependency detected while generating rule for
  /home/piegon01/src/uefi/Build/D05/DEBUG_GCC5/AARCH64/Platform/Hisilicon/Drivers/Sm750Dxe/UefiSmi/DEBUG/SmiGraphicsOutput.efi

Building:
- D06.dsc
Gives error due to the fact these 2 files have the same name and the build
system doesn't pick the right one. The file in the ArmPkg is the most
recent:
- edk2/ArmPkg/Include/Library/OemMiscLib.h
- edk2-platfoms/Silicon/Hisilicon/Include/Library/OemMiscLib.h

Pierre Gondois (5):
  Platform/ARM/SgiPkg: Remove '-march=armv8-a+nofp' flag
  Platform/StandaloneMm: Remove '-march=armv8-a+nofp' flag
  Silicon/Hisilicon/FlashFvbDxe: Update TokenSpace of
    PcdNorFlashCheckBlockLocked
  Platform/Hisilicon: Add VariableFlashInfoLib to Hisilicon.dsc.inc
  Platform/ARM/Sgi: Add VariableFlashInfoLib to SgiPlatformMm.dsc.inc

 Platform/ARM/SgiPkg/SgiPlatformMm.dsc.inc                      | 3 ++-
 .../PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc       | 2 +-
 Silicon/Hisilicon/Drivers/FlashFvbDxe/FlashFvbDxe.inf          | 3 ++-
 Silicon/Hisilicon/Hisilicon.dsc.inc                            | 1 +
 4 files changed, 6 insertions(+), 3 deletions(-)

-- 
2.25.1



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#99008): https://edk2.groups.io/g/devel/message/99008
Mute This Topic: https://groups.io/mt/96518041/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list