From e581d0b32072d9a6a44dee2b46a75093c0507d3d Mon Sep 17 00:00:00 2001 From: "Tokita, Hiroshi" Date: Fri, 15 Oct 2021 18:33:02 -0700 Subject: [PATCH] cmake: Use CONFIG_HAS_GDLIB as common define to use gigadevice hal. SOC_SERIES variables are not the same between GD32 and GD32V. Use sharable config value. Signed-off-by: TOKITA Hiroshi --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 90ea7132..ad91b927 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Copyright (c) 2021, ATL Electronics # SPDX-License-Identifier: Apache-2.0 -if(CONFIG_SOC_FAMILY_GD32) +if(CONFIG_HAS_GDLIB) zephyr_library()