Kconfig: remove PLATFORM configuration option

The PLATFORM configuration option is not used in any unique way. With simple
changes, we can directly use CONFIG_PLATFORM_UEFI and CONFIG_PLATFORM_SBL to
compile the ACRN hypervisor. This patch removes this config option and adjusts
the hypervisor Makefile accordingly.

The "old" way of specifying the platform from the command-line is not affected
by these changes, e.g.: "make PLATFORM=sbl"

Tracked-On: #1588
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
Geoffroy Van Cutsem
2018-11-19 14:34:56 +01:00
committed by Xie, Nanlin
parent 7eeeccdfad
commit 512dbb61e3
2 changed files with 11 additions and 15 deletions

View File

@@ -1,8 +1,8 @@
choice
prompt "Platform"
prompt "Type of boot firmware (BIOS) on the target platform"
default PLATFORM_SBL
help
The BIOS used on the target board.
The boot firmware (BIOS) used on the target board.
config PLATFORM_UEFI
bool "UEFI"
@@ -62,11 +62,6 @@ config IOREQ_POLLING
endchoice
config PLATFORM
string "The type of boot firmware (BIOS) on the target platform"
default "uefi" if PLATFORM_UEFI
default "sbl" if PLATFORM_SBL
config BOARD
string "Target board"
help