kernel-ver.mk 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. #
  4. # On the various kernel version variables:
  5. #
  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
  12. ifeq ($(ADK_TARGET_KERNEL_VERSION_GIT),y)
  13. ifneq ($(ADK_TARGET_KERNEL_HASH),)
  14. KERNEL_FILE_VER:= $(ADK_TARGET_KERNEL_HASH)
  15. else
  16. KERNEL_FILE_VER:= git
  17. endif
  18. KERNEL_RELEASE:= 1
  19. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  20. endif
  21. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_4_6),y)
  22. KERNEL_FILE_VER:= 4.4.6
  23. KERNEL_RELEASE:= 1
  24. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  25. KERNEL_HASH:= a3bccec4c28939355cd415672414583ecaf5531a87ddb44c9dc036aeacec577d
  26. endif
  27. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_1_20),y)
  28. KERNEL_FILE_VER:= 4.1.20
  29. KERNEL_RELEASE:= 1
  30. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  31. KERNEL_HASH:= faa56b8550fee0647f92bff3d4ceee2dfd983b51600c634ffd3294215f43f8b6
  32. endif
  33. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_18_25),y)
  34. KERNEL_FILE_VER:= 3.18.25
  35. KERNEL_RELEASE:= 1
  36. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  37. KERNEL_HASH:= c649874e2856101df7cefe5fdad313ebb2282a939fc1e95cf02222327745ff92
  38. endif
  39. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_14_58),y)
  40. KERNEL_FILE_VER:= 3.14.58
  41. KERNEL_RELEASE:= 1
  42. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  43. KERNEL_HASH:= f4d016cb807b294988c6515c245939b2a7987ba606ad0662958bd8cb8600814b
  44. endif
  45. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12_51),y)
  46. KERNEL_FILE_VER:= 3.12.51
  47. KERNEL_RELEASE:= 1
  48. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  49. KERNEL_HASH:= 7199a5beaa9b3a6eb3aa30b62d5e66aa333bb4cf5efe715a5d1067f4f68f1820
  50. endif
  51. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_10_94),y)
  52. KERNEL_FILE_VER:= 3.10.94
  53. KERNEL_RELEASE:= 1
  54. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  55. KERNEL_HASH:= 61a700b21ad951c8bc2ed9d3ff3c3c5c6e4124a1f2808f786745d568290cba7f
  56. endif
  57. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_4_110),y)
  58. KERNEL_FILE_VER:= 3.4.110
  59. KERNEL_RELEASE:= 1
  60. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  61. KERNEL_HASH:= 3bc608bc722755128f14ab4a31b973789e23753d6ac8db417498d0f9911ce7d0
  62. endif
  63. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_2_77),y)
  64. KERNEL_FILE_VER:= 3.2.77
  65. KERNEL_RELEASE:= 1
  66. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  67. KERNEL_HASH:= ce34dac6df719b3bcd99d1380bddf354a0319ae27326a4e10e556a0c5a3df18f
  68. endif
  69. ifeq ($(ADK_TARGET_KERNEL_VERSION_2_6_32_70),y)
  70. KERNEL_FILE_VER:= 2.6.32.70
  71. KERNEL_RELEASE:= 1
  72. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  73. KERNEL_HASH:= d7d0ee4588711d4f85ed67b65d447b4bbbe215e600a771fb87a62524b6341c43
  74. endif