HV: remove default folder in configs

Add sos_vm.h as a template in configs folder and is linked to
configs/$(CONFIG_BOARD)/sos_vm.h.

If customer need a board specific sos_vm.h, make a copy in
configs/$(CONFIG_BOARD)/ and replace the symbol link.

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:
Victor Sun
2019-02-25 11:20:31 +08:00
committed by ACRN System Integration
parent f9b5e21bdc
commit a25f1a4060
12 changed files with 19 additions and 10 deletions

View File

@@ -109,16 +109,7 @@ 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