summaryrefslogtreecommitdiff
path: root/mk/waldux-ver.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-03 15:46:47 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-03-07 20:44:04 +0100
commit9bb871a0bb4c239239944d28bd4d5cfa19d84f62 (patch)
treeb1c2eee95a3b475748c89d0075f604bb159a3271 /mk/waldux-ver.mk
parenta4767b13763b91dfb0aa75d2985d63d7ed9cb64c (diff)
add support for waldux
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