1# Copyright (c) 2023 Yonatan Schachter 2# SPDX-License-Identifier: Apache-2.0 3 4menuconfig BINDESC_DEFINE_VERSION 5 bool "Version binary descriptors" 6 help 7 Add the version binary descriptors 8 9if BINDESC_DEFINE_VERSION 10 11config BINDESC_KERNEL_VERSION_STRING 12 bool "Kernel version string" 13 help 14 The kernel version string, such as "3.4.0" 15 16config BINDESC_KERNEL_VERSION_MAJOR 17 bool "Kernel version major" 18 help 19 The major version number, such as 3 in 3.4.0 20 21config BINDESC_KERNEL_VERSION_MINOR 22 bool "Kernel version minor" 23 help 24 The minor version number, such as 4 in 3.4.0 25 26config BINDESC_KERNEL_VERSION_PATCHLEVEL 27 bool "Kernel version patchlevel" 28 help 29 The patchlevel version number, such as 0 in 3.4.0 30 31config BINDESC_KERNEL_VERSION_NUMBER 32 bool "Kernel version number" 33 help 34 The kernel version as binary coded decimal, computed as 35 (major << 16 | minor << 8 | patchlevel). For example, 36 3.4.0 would be represented as 0x30400 37 38config BINDESC_KERNEL_BUILD_VERSION 39 bool "Kernel git reference" 40 help 41 The kernel git reference, such as "v3.3.0-18-g2c85d9224fca", 42 or overridden at build time - see BUILD_VERSION 43 44config BINDESC_APP_VERSION_STRING 45 bool "App version string" 46 help 47 The app version string, such as "1.0.0" 48 49config BINDESC_APP_VERSION_MAJOR 50 bool "App version major" 51 help 52 The app major version number, such as 1 in 1.0.0 53 54config BINDESC_APP_VERSION_MINOR 55 bool "App version minor" 56 help 57 The app minor version number, such as 0 in 1.0.0 58 59config BINDESC_APP_VERSION_PATCHLEVEL 60 bool "App version patchlevel" 61 help 62 The app patchlevel version number, such as 0 in 1.0.0 63 64config BINDESC_APP_VERSION_NUMBER 65 bool "App version number" 66 help 67 The app version as binary coded decimal, computed as 68 (major << 16 | minor << 8 | patchlevel). For example, 69 1.0.0 would be represented as 0x10000 70 71config BINDESC_APP_BUILD_VERSION 72 bool "App git reference" 73 help 74 The application git reference, such as "v3.3.0-18-g2c85d9224fca" 75 76endif # BINDESC_DEFINE_VERSION 77