version.h.in 579 B

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