diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2017-03-27 20:01:16 +0200 |
---|---|---|
committer | Marcel Ziswiler <marcel.ziswiler@toradex.com> | 2017-04-07 14:05:51 +0200 |
commit | 7bc9bf1672465ed84c4713513a430e9e2ebb3f12 (patch) | |
tree | d4055dda6c24f17e5503737ce7bddfebe4e9d181 /conf/tdx_version.conf | |
parent | 799280ceb05d8c9abb395c88e26697f1d9878f38 (diff) |
tdx_version.conf: add variables to construct the bsp version
0123456789012345678901234567890123456789012345678901234567890123456789
These variables are used to mark the BSP version in U-Boot, the Linux
kernel and the final image.
Note that some can be overridden from the shell environment, e.g.:
export BB_ENV_EXTRAWHITE="$BB_ENV_EXTRAWHITE TDX_VERNIGHTLY"
export TDX_VERNIGHTLY="-nightly"
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
Acked-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Diffstat (limited to 'conf/tdx_version.conf')
-rw-r--r-- | conf/tdx_version.conf | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/conf/tdx_version.conf b/conf/tdx_version.conf new file mode 100644 index 0000000..c5ee3de --- /dev/null +++ b/conf/tdx_version.conf @@ -0,0 +1,13 @@ +# These variables are used to set image, kernel and U-Boot versions + +TDX_VERMAJOR = "2" +TDX_VERMINIOR = "7" +TDX_VERBETA = "b2" +TDX_VERPATCH = "2" +TDX_VERNIGHTLY ?= "" +TDX_VERDATE ?= "-${DATE}" +TDX_VERDATE[vardepsexclude] = "DATE" + +TDX_VER_EXT = "${TDX_VERMAJOR}.${TDX_VERMINIOR}${TDX_VERBETA}${TDX_VERNIGHTLY}${TDX_VERDATE}" +TDX_VER_EXT_MIN = "${TDX_VERMAJOR}.${TDX_VERMINIOR}${TDX_VERBETA}${TDX_VERNIGHTLY}" +TDX_VER_INT = "${TDX_VERMAJOR}.${TDX_VERMINIOR}.${TDX_VERPATCH}" |