1#ifndef _KERNEL_VERSION_H_ 2#define _KERNEL_VERSION_H_ 3 4/* @templates@ values come from cmake/version.cmake */ 5 6#cmakedefine ZEPHYR_VERSION_CODE @ZEPHYR_VERSION_CODE@ 7#define ZEPHYR_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) 8 9#define KERNELVERSION @KERNELVERSION@ 10#define KERNEL_VERSION_NUMBER @KERNEL_VERSION_NUMBER@ 11#define KERNEL_VERSION_MAJOR @KERNEL_VERSION_MAJOR@ 12#define KERNEL_VERSION_MINOR @KERNEL_VERSION_MINOR@ 13#define KERNEL_PATCHLEVEL @KERNEL_PATCHLEVEL@ 14#define KERNEL_VERSION_STRING @KERNEL_VERSION_STRING@ 15 16#endif /* _KERNEL_VERSION_H_ */ 17