From 6ad940488333f984c15ca2a306edb7d72dc524fa Mon Sep 17 00:00:00 2001 From: Juan Manuel Cruz Date: Tue, 19 May 2015 11:51:30 -0500 Subject: [PATCH] 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 --- Makefile.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile.inc b/Makefile.inc index d066f25c5eb..2bc0b398eef 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -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