boot/edk2: fix the build for arm sgi575
The edk2 package can be configured for platform Arm Sgi575 but this does not build correctly: Usage: build.exe [options] [all|fds|genc|genmake|clean|cleanall|cleanlib|modules|libraries|run] build.exe: error: option -a: invalid choice: '-b' (choose from 'IA32', 'X64', 'EBC', 'ARM', 'AARCH64', 'RISCV64') make[1]: *** [package/pkg-generic.mk:293: /home/thomas/buildroot/buildroot/output/build/edk2-edk2-stable202102/.stamp_built] Error 2 make: *** [Makefile:84: _all] Error 2 Add the necessary definitions to fix the build. Signed-off-by: Vincent Stehlé <vincent.stehle@arm.com> Cc: Dick Olsson <hi@senzilla.io> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
08a013d25a
commit
79591b7667
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user