mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-06-07 01:30:13 +00:00
hv: remove CONFIG_PLATFORM_[SBL|UEFI] and UEFI_STUB
ACRN now has unified the way to handle SBL and UEFI. so just remove corresponding macros in Kconfig. BTW, default configuration in Kconfig is for UEFI boards. Tracked-On: #2708 Signed-off-by: Tw <wei.tan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -29,13 +29,6 @@ override RELEASE := n
|
||||
endif
|
||||
endif
|
||||
|
||||
OVERWRITTEN := ""
|
||||
ifeq ($(FIRMWARE),sbl)
|
||||
OVERWRITTEN += "PLATFORM_SBL=y"
|
||||
else ifeq ($(FIRMWARE),uefi)
|
||||
OVERWRITTEN += "PLATFORM_UEFI=y"
|
||||
endif
|
||||
|
||||
-include $(HV_OBJDIR)/$(HV_CONFIG_MK)
|
||||
ifeq ($(shell [ $(HV_OBJDIR)/$(HV_CONFIG) -nt $(HV_OBJDIR)/$(HV_CONFIG_MK) ] && echo 1),1)
|
||||
# config.mk may be outdated if .config has been overwritten. To update config.mk
|
||||
@@ -93,7 +86,7 @@ oldconfig: $(KCONFIG_DEPS)
|
||||
@BOARD=$(TARGET_BOARD) \
|
||||
python3 $(KCONFIG_DIR)/silentoldconfig.py Kconfig \
|
||||
$(HV_OBJDIR)/$(HV_CONFIG) \
|
||||
RELEASE=$(RELEASE) $(OVERWRITTEN)
|
||||
RELEASE=$(RELEASE)
|
||||
|
||||
# Minimize the current .config. This target can be used to generate a defconfig
|
||||
# for future use.
|
||||
|
||||
Reference in New Issue
Block a user