Skip to contentSkip to conversation

boot/edk2: fix the build for arm sgi575

PATCH Applied Vincent Stehlé 3 participants 3 messages Nov 22, 2022 – Nov 26, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 boot/edk2: fix the build for arm sgi575

The edk2 package can be configured for platform Arm Sgi575 but this does not build correctly. Add the necessary definitions to fix the build.

---

Hi,

This is only build-tested.

Alternatively we could remove the BR2_TARGET_EDK2_PLATFORM_ARM_SGI575 from the Config.in file completely if this is preferred. Just let me know and I will send a patch.

Best regards,
Vincent.

 boot/edk2/edk2.mk | 6 ++++++
 1 file changed, 6 insertions(+)
boot/edk2/edk2.mk +6 -0
index 5cbd9d152e7..7d8765c3108 100644
@@ -75,6 +75,12 @@ EDK2_PACKAGE_NAME = ArmVirtPkg
 EDK2_PLATFORM_NAME = ArmVirtQemuKernel
 EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)-$(EDK2_ARCH)
 
+else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_SGI575),y)
+EDK2_ARCH = AARCH64
+EDK2_PACKAGE_NAME = Platform/ARM/SgiPkg/Sgi575
+EDK2_PLATFORM_NAME = Sgi575
+EDK2_BUILD_DIR = $(EDK2_PLATFORM_NAME)
+
 else ifeq ($(BR2_TARGET_EDK2_PLATFORM_ARM_VEXPRESS_FVP_AARCH64),y)
 EDK2_ARCH = AARCH64
 EDK2_PACKAGE_NAME = Platform/ARM/VExpressPkg
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · On Tue, 22 Nov 2022 17:05:44 +0100 Vincent Stehlé <[email protected]>…

The edk2 package can be configured for platform Arm Sgi575 but this does not build correctly. Add the necessary definitions to fix the build.

---

Applied to master with an improved commit log that contains details about the build failure.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
In reply to Vincent Stehlé
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Vincent" == Vincent Stehlé <[email protected]> writes:

The edk2 package can be configured for platform Arm Sgi575 but this does not build correctly. Add the necessary definitions to fix the build.

Committed to 2022.08.x and 2022.02.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot