uclibc-ng-test: fix symbol name to detect linuxthreads
[openadk.git] / mk / kernel-ver.mk
blob277d6acb0559c26802840956064becd7fcd9d4cc
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 # On the various kernel version variables:
6 # KERNEL_FILE_VER: version numbering used for tarball and contained top level
7 # directory (e.g. linux-4.1.2.tar.bz2 -> linux-4.1.2) (not
8 # necessary equal to kernel's version, e.g. linux-3.19
9 # contains kernel version 3.19.0)
10 # KERNEL_RELEASE: OpenADK internal versioning
11 # KERNEL_VERSION: final kernel version how we want to identify a specific kernel
13 ifeq ($(ADK_TARGET_KERNEL_GIT),y)
14 ifneq ($(ADK_TARGET_KERNEL_HASH),)
15 KERNEL_FILE_VER:= $(ADK_TARGET_KERNEL_HASH)
16 else
17 KERNEL_FILE_VER:= $(ADK_KERNEL_GITVER)
18 endif
19 KERNEL_RELEASE:= 1
20 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
21 endif
22 ifeq ($(ADK_TARGET_KERNEL_VERSION_4_8),y)
23 KERNEL_FILE_VER:= 4.8.6
24 KERNEL_RELEASE:= 1
25 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
26 KERNEL_HASH:= 74744e00420856cfc8049fa3b3a55e57a116994226a498ef56801bc9492df36b
27 endif
28 ifeq ($(ADK_TARGET_KERNEL_VERSION_4_4),y)
29 KERNEL_FILE_VER:= 4.4.28
30 KERNEL_RELEASE:= 1
31 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
32 KERNEL_HASH:= 841acb9109a893ab2f60b02355e1527e80fa09251e46339317f6984d69b1f4fc
33 endif
34 ifeq ($(ADK_TARGET_KERNEL_VERSION_4_1),y)
35 KERNEL_FILE_VER:= 4.1.35
36 KERNEL_RELEASE:= 1
37 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
38 KERNEL_HASH:= 544af0400818a4b5ee7bca192c52e801faf7eeb22eed128c89aeb490344cc04a
39 endif
40 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_18),y)
41 KERNEL_FILE_VER:= 3.18.44
42 KERNEL_RELEASE:= 1
43 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
44 KERNEL_HASH:= 5661ccb8e45ec290d16d9617056d32f54bdea1357b1b3047c9c4042c78824db2
45 endif
46 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12),y)
47 KERNEL_FILE_VER:= 3.12.66
48 KERNEL_RELEASE:= 1
49 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
50 KERNEL_HASH:= 8c219fd19367423be58a50584d293e593ff0aba65f95db2b08303090f561ca0a
51 endif
52 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_10),y)
53 KERNEL_FILE_VER:= 3.10.104
54 KERNEL_RELEASE:= 1
55 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
56 KERNEL_HASH:= e3d23228b5398a484c81e9d5012bc49bbbe1eda245a05a8a4110bddb3e316c12
57 endif
58 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_4),y)
59 KERNEL_FILE_VER:= 3.4.113
60 KERNEL_RELEASE:= 1
61 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
62 KERNEL_HASH:= c474a1d630357e64ae89f374a2575fa9623e87ea1a97128c4d83f08d4e7a0b4f
63 endif
64 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_2),y)
65 KERNEL_FILE_VER:= 3.2.83
66 KERNEL_RELEASE:= 1
67 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
68 KERNEL_HASH:= db578292c43c8cbca7530723d4da4fc784e6cdadc61bff5e966bfb00dbc947e1
69 endif
70 ifeq ($(ADK_TARGET_KERNEL_VERSION_2_6_32),y)
71 KERNEL_FILE_VER:= 2.6.32.70
72 KERNEL_RELEASE:= 1
73 KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
74 KERNEL_HASH:= d7d0ee4588711d4f85ed67b65d447b4bbbe215e600a771fb87a62524b6341c43
75 endif