kernel-ver.mk 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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_0),y)
  18. KERNEL_FILE_VER:= 4.3
  19. KERNEL_RELEASE:= 1
  20. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  21. KERNEL_HASH:= 4a622cc84b8a3c38d39bc17195b0c064d2b46945dfde0dae18f77b120bc9f3ae
  22. endif
  23. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_2_6),y)
  24. KERNEL_FILE_VER:= 4.2.6
  25. KERNEL_RELEASE:= 1
  26. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  27. KERNEL_HASH:= 17db6b7dc0061135df39b376e325d01152df4087253e9563e1c7ceb4c736fb5c
  28. endif
  29. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_1_13),y)
  30. KERNEL_FILE_VER:= 4.1.13
  31. KERNEL_RELEASE:= 1
  32. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  33. KERNEL_HASH:= b9194cd5b609685b748dcf89a65cb86980cc8aaaee7768f0c42e8775259eb013
  34. endif
  35. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_18_22),y)
  36. KERNEL_FILE_VER:= 3.18.22
  37. KERNEL_RELEASE:= 1
  38. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  39. KERNEL_HASH:= 1cdcbb46d02da936bf58707c788bb39ca551260964853c1c5f7e49cda602ce2c
  40. endif
  41. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_14_54),y)
  42. KERNEL_FILE_VER:= 3.14.54
  43. KERNEL_RELEASE:= 1
  44. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  45. KERNEL_HASH:= 2f3a2ad541d011ee1a95e5900f2cc3887ced0f14ead7f1fcf070ce2a7a3f544a
  46. endif
  47. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12_48),y)
  48. KERNEL_FILE_VER:= 3.12.48
  49. KERNEL_RELEASE:= 1
  50. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  51. KERNEL_HASH:= 3f4263d06b062a85c83a15fc5616af60af56d154b18ae393306f2ba445bc7bd7
  52. endif
  53. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_10_90),y)
  54. KERNEL_FILE_VER:= 3.10.90
  55. KERNEL_RELEASE:= 1
  56. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  57. KERNEL_HASH:= 5a6725d4f425f1dc8b033bd29aaabae7402c82e0c527c3aed61c29a8f7b05ee3
  58. endif
  59. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_4_109),y)
  60. KERNEL_FILE_VER:= 3.4.109
  61. KERNEL_RELEASE:= 1
  62. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  63. KERNEL_HASH:= e20c22b3362c2b701111faea6c92d266a387d28e94e14426e9fc31a918c1a5bd
  64. endif
  65. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_2_71),y)
  66. KERNEL_FILE_VER:= 3.2.71
  67. KERNEL_RELEASE:= 1
  68. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  69. KERNEL_HASH:= eadbf2f230c432f214e0449dbfdb7ae0080d321da2e38d63c1a77eda57896442
  70. endif
  71. ifeq ($(ADK_TARGET_KERNEL_VERSION_2_6_32_68),y)
  72. KERNEL_FILE_VER:= 2.6.32.68
  73. KERNEL_RELEASE:= 1
  74. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  75. KERNEL_HASH:= f56ca7f9ae41a80b37b42a9aa6367d6b054cde8a32ef3585a8b7b1fecd1c399e
  76. endif