zephyr/subsys/bindesc/bindesc_build_time.h.in
Pieter De Gendt 3102fdc8c1 bindesc: Update build time without re-running cmake entirely
With CONFIG_BINDESC_BUILD_TIME_ALWAYS_REBUILD a re-run was called for
the entire project.
This can result in issues with the zephyr linker mechanism.

Signed-off-by: Pieter De Gendt <pieter.degendt@basalte.be>
2024-03-29 15:08:39 +00:00

19 lines
620 B
C

/* SPDX-License-Identifier: Apache-2.0 */
#ifndef _BINDESC_BUILD_TIME_H_
#define _BINDESC_BUILD_TIME_H_
#define BUILD_TIME_YEAR @BUILD_TIME_YEAR@
#define BUILD_TIME_MONTH @BUILD_TIME_MONTH@
#define BUILD_TIME_DAY @BUILD_TIME_DAY@
#define BUILD_TIME_HOUR @BUILD_TIME_HOUR@
#define BUILD_TIME_MINUTE @BUILD_TIME_MINUTE@
#define BUILD_TIME_SECOND @BUILD_TIME_SECOND@
#define BUILD_TIME_UNIX @BUILD_TIME_UNIX@
#define BUILD_DATE_TIME_STRING "@BUILD_DATE_TIME_STRING@"
#define BUILD_DATE_STRING "@BUILD_DATE_STRING@"
#define BUILD_TIME_STRING "@BUILD_TIME_STRING@"
#endif /* _BINDESC_BUILD_TIME_H_ */