From 7bc9bf1672465ed84c4713513a430e9e2ebb3f12 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Mon, 27 Mar 2017 20:01:16 +0200 Subject: 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 Acked-by: Marcel Ziswiler --- conf/tdx_version.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 conf/tdx_version.conf (limited to 'conf') 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}" -- cgit v1.2.3