mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-06 19:30:46 +00:00
HV: refine sos_vm config header
The sos_vm config under arch/x86/configs/$(CONFIG_BOARD) folder should be customer specific configuration, leave it back to customer. When hypervisor start building, it will check whether BOARD specific sos_vm.h exist in configs/$(CONFIG_BOARD) folder. If exist, then include this header; if not, then include default sos_vm config header under configs/default folder. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -109,7 +109,16 @@ INCLUDE_PATH += include/dm
|
||||
INCLUDE_PATH += bsp/include
|
||||
INCLUDE_PATH += boot/include
|
||||
INCLUDE_PATH += $(HV_OBJDIR)/include
|
||||
|
||||
BOARD_CONFIG_PATH := arch/x86/configs/$(CONFIG_BOARD)
|
||||
BOARD_SOS_VM_CONFIG := $(BOARD_CONFIG_PATH)/sos_vm.h
|
||||
ifeq ($(CONFIG_PARTITION_MODE),y)
|
||||
INCLUDE_PATH += arch/x86/configs/$(CONFIG_BOARD)
|
||||
else ifeq (, $(wildcard $(BOARD_SOS_VM_CONFIG)))
|
||||
INCLUDE_PATH += arch/x86/configs/default
|
||||
else
|
||||
INCLUDE_PATH += arch/x86/configs/$(CONFIG_BOARD)
|
||||
endif
|
||||
|
||||
CC ?= gcc
|
||||
AS ?= as
|
||||
|
Reference in New Issue
Block a user