summaryrefslogtreecommitdiff
path: root/mk/waldux-ver.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/waldux-ver.mk')
-rw-r--r--mk/waldux-ver.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/mk/waldux-ver.mk b/mk/waldux-ver.mk
new file mode 100644
index 000000000..a88c4501b
--- /dev/null
+++ b/mk/waldux-ver.mk
@@ -0,0 +1,16 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+#
+# On the various kernel version variables:
+#
+# KERNEL_FILE_VER: version numbering used for tarball and contained
+# top level directory
+# KERNEL_RELEASE: OpenADK internal versioning
+# KERNEL_VERSION: final kernel version how we want to identify a
+# specific kernel
+
+ifeq ($(ADK_TARGET_WALDUX_KERNEL_VERSION_GIT),y)
+KERNEL_FILE_VER:= $(ADK_TARGET_WALDUX_KERNEL_GIT)
+KERNEL_RELEASE:= 1
+KERNEL_VERSION:= $(ADK_TARGET_WALDUX_KERNEL_GIT_VER)-$(KERNEL_RELEASE)
+endif