2023-03-23 23:54:31 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2023 Yonatan Schachter
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <zephyr/kernel.h>
|
|
|
|
#include <zephyr/bindesc.h>
|
|
|
|
|
2024-06-24 18:59:51 +08:00
|
|
|
#if defined(CONFIG_BINDESC_HOST_NAME)
|
2023-03-23 23:54:31 +08:00
|
|
|
BINDESC_STR_DEFINE(host_name, BINDESC_ID_HOST_NAME, HOST_NAME);
|
2024-06-24 18:59:51 +08:00
|
|
|
#endif /* defined(CONFIG_BINDESC_HOST_NAME) */
|
2023-03-23 23:54:31 +08:00
|
|
|
|
2024-06-24 18:59:51 +08:00
|
|
|
#if defined(CONFIG_BINDESC_C_COMPILER_NAME)
|
2023-03-23 23:54:31 +08:00
|
|
|
BINDESC_STR_DEFINE(c_compiler_name, BINDESC_ID_C_COMPILER_NAME, C_COMPILER_NAME);
|
2024-06-24 18:59:51 +08:00
|
|
|
#endif /* defined(CONFIG_BINDESC_C_COMPILER_NAME) */
|
2023-03-23 23:54:31 +08:00
|
|
|
|
2024-06-24 18:59:51 +08:00
|
|
|
#if defined(CONFIG_BINDESC_C_COMPILER_VERSION)
|
2023-03-23 23:54:31 +08:00
|
|
|
BINDESC_STR_DEFINE(c_compiler_version, BINDESC_ID_C_COMPILER_VERSION, C_COMPILER_VERSION);
|
2024-06-24 18:59:51 +08:00
|
|
|
#endif /* defined(CONFIG_BINDESC_C_COMPILER_VERSION) */
|
2023-03-23 23:54:31 +08:00
|
|
|
|
2024-06-24 18:59:51 +08:00
|
|
|
#if defined(CONFIG_BINDESC_CXX_COMPILER_NAME)
|
2023-03-23 23:54:31 +08:00
|
|
|
BINDESC_STR_DEFINE(cxx_compiler_name, BINDESC_ID_CXX_COMPILER_NAME, CXX_COMPILER_NAME);
|
2024-06-24 18:59:51 +08:00
|
|
|
#endif /* defined(CONFIG_BINDESC_CXX_COMPILER_NAME) */
|
2023-03-23 23:54:31 +08:00
|
|
|
|
2024-06-24 18:59:51 +08:00
|
|
|
#if defined(CONFIG_BINDESC_CXX_COMPILER_VERSION)
|
2023-03-23 23:54:31 +08:00
|
|
|
BINDESC_STR_DEFINE(cxx_compiler_version, BINDESC_ID_CXX_COMPILER_VERSION,
|
|
|
|
CXX_COMPILER_VERSION);
|
2024-06-24 18:59:51 +08:00
|
|
|
#endif /* defined(CONFIG_BINDESC_CXX_COMPILER_VERSION) */
|