blob: ff2b3d3e3a45070ad70e9214a19345c102cee9a0 [file] [log] [blame]
Sebastian Bøe12f8f762017-10-27 15:43:34 +02001#ifndef _KERNEL_VERSION_H_
2#define _KERNEL_VERSION_H_
3
4#cmakedefine ZEPHYR_VERSION_CODE @ZEPHYR_VERSION_CODE@
5#define ZEPHYR_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
6
7#define KERNELVERSION @KERNELVERSION@
8#define KERNEL_VERSION_NUMBER @KERNEL_VERSION_NUMBER@
9#define KERNEL_VERSION_MAJOR @KERNEL_VERSION_MAJOR@
10#define KERNEL_VERSION_MINOR @KERNEL_VERSION_MINOR@
11#define KERNEL_PATCHLEVEL @KERNEL_PATCHLEVEL@
12#define KERNEL_VERSION_STRING @KERNEL_VERSION_STRING@
13
14#endif /* _KERNEL_VERSION_H_ */