Kbuild: Support for BSP_VARIANT
This commit adds the support for the BSP_VARIANT symbol. This symbols is used by sanity checks to identify an specific CPU in the generic-pc BSP. Change-Id: Ia1d31303bc2d4bfc9c9ec5bf8da964b9707e44b0 Signed-off-by: Juan Manuel Cruz <juan.m.cruz.alcaraz@linux.intel.com>
This commit is contained in:
parent
e65cec5c75
commit
6ad9404883
|
@ -3,9 +3,13 @@ ARCH?=x86
|
|||
|
||||
export ARCH VPFILE QEMU_EXTRA_FLAGS
|
||||
|
||||
ifdef BSP_VARIANT
|
||||
VARIANT_STR=_$(BSP_VARIANT)
|
||||
endif
|
||||
|
||||
ifdef BSP
|
||||
ifdef KERNEL_TYPE
|
||||
KBUILD_DEFCONFIG=$(KERNEL_TYPE)_$(BSP)_defconfig
|
||||
KBUILD_DEFCONFIG=$(KERNEL_TYPE)_$(BSP)$(VARIANT_STR)_defconfig
|
||||
export KBUILD_DEFCONFIG
|
||||
endif
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue