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_3_3),y)
  22. KERNEL_FILE_VER:= 4.3.3
  23. KERNEL_RELEASE:= 1
  24. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  25. KERNEL_HASH:= 8cad4ce7d049c2ecc041b0844bd478bf85f0d3071c93e0c885a776d57cbca3cf
  26. endif
  27. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_1_16),y)
  28. KERNEL_FILE_VER:= 4.1.16
  29. KERNEL_RELEASE:= 1
  30. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  31. KERNEL_HASH:= 8792030cceeb9e6b9e4896afb44d59854ac9d5354ce0ea847ad301f5aa9eb26e
  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_74),y)
  64. KERNEL_FILE_VER:= 3.2.74
  65. KERNEL_RELEASE:= 1
  66. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  67. KERNEL_HASH:= 9271c9b72f70cc57a414c8de93e1eeaab48dfd7a2d147d24a116e8f49b17ed75
  68. endif
  69. ifeq ($(ADK_TARGET_KERNEL_VERSION_2_6_32_69),y)
  70. KERNEL_FILE_VER:= 2.6.32.69
  71. KERNEL_RELEASE:= 1
  72. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  73. KERNEL_HASH:= 3412b1ae5e8f7a5266a602fb3022e802091c10595c6ecf4a790214a833bf034d
  74. endif