summaryrefslogtreecommitdiff
path: root/payloads/external/tianocore
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/external/tianocore')
-rw-r--r--payloads/external/tianocore/Kconfig23
-rw-r--r--payloads/external/tianocore/Makefile8
2 files changed, 1 insertions, 30 deletions
diff --git a/payloads/external/tianocore/Kconfig b/payloads/external/tianocore/Kconfig
index e53be168bc..c227bf30dd 100644
--- a/payloads/external/tianocore/Kconfig
+++ b/payloads/external/tianocore/Kconfig
@@ -35,29 +35,6 @@ config TIANOCORE_REVISION_ID
for master branch of Tianocore release on github.
choice
- prompt "Target architecture"
- default TIANOCORE_TARGET_X64
- help
- The Tianocore coreboot Payload Package binary can be
- built for either only IA32 or both X64 and IA32 architectures.
- Select which architecture(s) to build for; default is to build
- for both X64 and IA32.
-
-config TIANOCORE_TARGET_IA32
- bool "IA32"
- help
- By selecting this option, the target architecture will be built
- for only IA32.
-
-config TIANOCORE_TARGET_X64
- bool "X64"
- help
- By selecting this option, the target architecture will be built
- for X64 and IA32.
-
-endchoice
-
-choice
prompt "Tianocore build"
default TIANOCORE_RELEASE
help
diff --git a/payloads/external/tianocore/Makefile b/payloads/external/tianocore/Makefile
index ad0328ad38..7ab4f9edb0 100644
--- a/payloads/external/tianocore/Makefile
+++ b/payloads/external/tianocore/Makefile
@@ -32,13 +32,7 @@ endif
TIMEOUT=-D PLATFORM_BOOT_TIMEOUT=$(CONFIG_TIANOCORE_BOOT_TIMEOUT)
-ifeq ($(CONFIG_TIANOCORE_TARGET_IA32), y)
-ARCH=-a IA32
-else
-ARCH=-a IA32 -a X64
-endif
-
-BUILD_STR=-q $(ARCH) -p UefiPayloadPkg/UefiPayloadPkg.dsc -t COREBOOT -b $(BUILD_TYPE) $(TIMEOUT) $(build_flavor)
+BUILD_STR=-q -a IA32 -a X64 -p UefiPayloadPkg/UefiPayloadPkg.dsc -t COREBOOT -b $(BUILD_TYPE) $(TIMEOUT) $(build_flavor)
all: clean build