1 /*
2  * Copyright (c) 2023 Yonatan Schachter
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  */
6 
7 #include <zephyr/kernel.h>
8 #include <zephyr/bindesc.h>
9 
10 #if defined(CONFIG_BINDESC_HOST_NAME)
11 BINDESC_STR_DEFINE(host_name, BINDESC_ID_HOST_NAME, HOST_NAME);
12 #endif /* defined(CONFIG_BINDESC_HOST_NAME) */
13 
14 #if defined(CONFIG_BINDESC_C_COMPILER_NAME)
15 BINDESC_STR_DEFINE(c_compiler_name, BINDESC_ID_C_COMPILER_NAME, C_COMPILER_NAME);
16 #endif /* defined(CONFIG_BINDESC_C_COMPILER_NAME) */
17 
18 #if defined(CONFIG_BINDESC_C_COMPILER_VERSION)
19 BINDESC_STR_DEFINE(c_compiler_version, BINDESC_ID_C_COMPILER_VERSION, C_COMPILER_VERSION);
20 #endif /* defined(CONFIG_BINDESC_C_COMPILER_VERSION) */
21 
22 #if defined(CONFIG_BINDESC_CXX_COMPILER_NAME)
23 BINDESC_STR_DEFINE(cxx_compiler_name, BINDESC_ID_CXX_COMPILER_NAME, CXX_COMPILER_NAME);
24 #endif /* defined(CONFIG_BINDESC_CXX_COMPILER_NAME) */
25 
26 #if defined(CONFIG_BINDESC_CXX_COMPILER_VERSION)
27 BINDESC_STR_DEFINE(cxx_compiler_version, BINDESC_ID_CXX_COMPILER_VERSION,
28 			CXX_COMPILER_VERSION);
29 #endif /* defined(CONFIG_BINDESC_CXX_COMPILER_VERSION) */
30