diff options
Diffstat (limited to 'payloads/external')
-rw-r--r-- | payloads/external/tianocore/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile index 198c17f6fe..7cd34f1732 100644 --- a/payloads/external/tianocore/Makefile +++ b/payloads/external/tianocore/Makefile @@ -39,10 +39,14 @@ endif TIMEOUT=-D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT) +ifeq ($(CONFIG_TIANOCORE_COREBOOTPAYLOAD),y) ifeq ($(CONFIG_TIANOCORE_TARGET_IA32), y) -ARCH=-a IA32 -p $(bootloader)/$(bootloader)Ia32.dsc +ARCH=-a IA32 -p CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc else -ARCH=-a IA32 -a X64 -p $(bootloader)/$(bootloader)Ia32X64.dsc +ARCH=-a IA32 -a X64 -p CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc +endif +else +ARCH=-a IA32 -a X64 -p UefiPayloadPkg/UefiPayloadPkg.dsc endif BUILD_STR=-q $(ARCH) -t COREBOOT -b $(BUILD_TYPE) $(TIMER) $(TIMEOUT) $(build_flavor) |