boot/edk2: fix the build for arm sgi575
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
@@ -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
Thomas Petazzoni via buildroot
AppliedQuoted 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.
Signed-off-by Vincent Stehlé <[email protected]>Cc Dick Olsson <[email protected]>---
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
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.
Signed-off-by Vincent Stehlé <[email protected]>Cc Dick Olsson <[email protected]>
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