From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web11.42333.1674642514205993962 for ; Wed, 25 Jan 2023 02:28:34 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 69D544B3; Wed, 25 Jan 2023 02:29:15 -0800 (PST) Received: from cam-smtp0.cambridge.arm.com (pierre123.nice.arm.com [10.34.100.128]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id E8B0C3F71E; Wed, 25 Jan 2023 02:28:31 -0800 (PST) From: "PierreGondois" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Thomas Abraham , Sami Mujawar , Leif Lindholm , Wenyi Xie , Ilias Apalodimas , Omkar Anand Kulkarni , Pranav Madhu , Sayanta Pattanayak , Pierre Gondois Subject: [PATCH edk2-platforms 0/5] Build fixes for Arm/Hisilicon platforms Date: Wed, 25 Jan 2023 11:27:57 +0100 Message-Id: <20230125102802.663790-1-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: Pierre Gondois These patches were only compile tested: - [1/5] Platform/ARM/SgiPkg: Remove '-march=3Darmv8-a+nofp' flag - [2/5] Platform/StandaloneMm: Remove '-march=3Darmv8-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 buil= d 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=3Darmv8-a+nofp' flag Platform/StandaloneMm: Remove '-march=3Darmv8-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(-) --=20 2.25.1