kernel-ver.mk 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. KERNEL_FILE_VER:= $(ADK_TARGET_KERNEL_HASH)
  14. KERNEL_RELEASE:= 1
  15. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  16. endif
  17. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_3_3),y)
  18. KERNEL_FILE_VER:= 4.3.3
  19. KERNEL_RELEASE:= 1
  20. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  21. KERNEL_HASH:= 8cad4ce7d049c2ecc041b0844bd478bf85f0d3071c93e0c885a776d57cbca3cf
  22. endif
  23. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_1_15),y)
  24. KERNEL_FILE_VER:= 4.1.15
  25. KERNEL_RELEASE:= 1
  26. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  27. KERNEL_HASH:= 472288cc966188c5d7c511c6be0f78682843c9ca2d5d6c4d67d77455680359a3
  28. endif
  29. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_18_25),y)
  30. KERNEL_FILE_VER:= 3.18.25
  31. KERNEL_RELEASE:= 1
  32. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  33. KERNEL_HASH:= c649874e2856101df7cefe5fdad313ebb2282a939fc1e95cf02222327745ff92
  34. endif
  35. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_14_58),y)
  36. KERNEL_FILE_VER:= 3.14.58
  37. KERNEL_RELEASE:= 1
  38. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  39. KERNEL_HASH:= f4d016cb807b294988c6515c245939b2a7987ba606ad0662958bd8cb8600814b
  40. endif
  41. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12_51),y)
  42. KERNEL_FILE_VER:= 3.12.51
  43. KERNEL_RELEASE:= 1
  44. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  45. KERNEL_HASH:= 7199a5beaa9b3a6eb3aa30b62d5e66aa333bb4cf5efe715a5d1067f4f68f1820
  46. endif
  47. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_10_94),y)
  48. KERNEL_FILE_VER:= 3.10.94
  49. KERNEL_RELEASE:= 1
  50. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  51. KERNEL_HASH:= 61a700b21ad951c8bc2ed9d3ff3c3c5c6e4124a1f2808f786745d568290cba7f
  52. endif
  53. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_4_110),y)
  54. KERNEL_FILE_VER:= 3.4.110
  55. KERNEL_RELEASE:= 1
  56. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  57. KERNEL_HASH:= 3bc608bc722755128f14ab4a31b973789e23753d6ac8db417498d0f9911ce7d0
  58. endif
  59. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_2_74),y)
  60. KERNEL_FILE_VER:= 3.2.74
  61. KERNEL_RELEASE:= 1
  62. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  63. KERNEL_HASH:= 9271c9b72f70cc57a414c8de93e1eeaab48dfd7a2d147d24a116e8f49b17ed75
  64. endif
  65. ifeq ($(ADK_TARGET_KERNEL_VERSION_2_6_32_69),y)
  66. KERNEL_FILE_VER:= 2.6.32.69
  67. KERNEL_RELEASE:= 1
  68. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  69. KERNEL_HASH:= 3412b1ae5e8f7a5266a602fb3022e802091c10595c6ecf4a790214a833bf034d
  70. endif