From 42411ace424dfacd357532fca2e42885708e2b08 Mon Sep 17 00:00:00 2001 From: Aseda Aboagye Date: Wed, 19 Jul 2017 11:11:40 -0700 Subject: [PATCH] CNL: Don't build CNL in tests w/o chipset tasks. When compiling target tests for a board that defines CONFIG_CHIPSET_CANNONLAKE, the build would fail due to the chipset code being built without a chipset task. This commit removes the Cannonlake chipset code when building a test that does not have a chipset task (and use Cannonlake). BUG=None BRANCH=None TEST=make -j BOARD=zoombini tests; verify that build succeeds. Change-Id: I15a5729db64314a8d6566be879f7c356ffa95725 Signed-off-by: Aseda Aboagye Reviewed-on: https://chromium-review.googlesource.com/578316 Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye Reviewed-by: Shawn N --- include/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/config.h b/include/config.h index 411fc30f6a..521a588af2 100644 --- a/include/config.h +++ b/include/config.h @@ -2894,6 +2894,7 @@ #ifndef HAS_TASK_CHIPSET #undef CONFIG_CHIPSET_APOLLOLAKE #undef CONFIG_CHIPSET_BRASWELL +#undef CONFIG_CHIPSET_CANNONLAKE #undef CONFIG_CHIPSET_MEDIATEK #undef CONFIG_CHIPSET_RK3399 #undef CONFIG_CHIPSET_ROCKCHIP