Boot Linux faster!

Check our new training course

Boot Linux faster!

Check our new training course
and Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

#ifndef _KERNEL_VERSION_H_
#define _KERNEL_VERSION_H_

#cmakedefine ZEPHYR_VERSION_CODE @ZEPHYR_VERSION_CODE@
#define ZEPHYR_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))

#define KERNELVERSION          @KERNELVERSION@
#define KERNEL_VERSION_NUMBER  @KERNEL_VERSION_NUMBER@
#define KERNEL_VERSION_MAJOR   @KERNEL_VERSION_MAJOR@
#define KERNEL_VERSION_MINOR   @KERNEL_VERSION_MINOR@
#define KERNEL_PATCHLEVEL      @KERNEL_PATCHLEVEL@
#define KERNEL_VERSION_STRING  @KERNEL_VERSION_STRING@

#endif /* _KERNEL_VERSION_H_ */