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_2_4),y)
  18. KERNEL_FILE_VER:= 4.2.4
  19. KERNEL_RELEASE:= 1
  20. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  21. KERNEL_HASH:= 167a58414805918d01eee9265f56408f6a03113e78ff78f9f6fa8476b4c82ff2
  22. endif
  23. ifeq ($(ADK_TARGET_KERNEL_VERSION_4_1_10),y)
  24. KERNEL_FILE_VER:= 4.1.10
  25. KERNEL_RELEASE:= 1
  26. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  27. KERNEL_HASH:= 5724e7c099afa4c442dcea64ce13aea66b66915ef629b79c21d6df46c5cfbabe
  28. endif
  29. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_18_22),y)
  30. KERNEL_FILE_VER:= 3.18.22
  31. KERNEL_RELEASE:= 1
  32. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  33. KERNEL_HASH:= 1cdcbb46d02da936bf58707c788bb39ca551260964853c1c5f7e49cda602ce2c
  34. endif
  35. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_14_54),y)
  36. KERNEL_FILE_VER:= 3.14.54
  37. KERNEL_RELEASE:= 1
  38. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  39. KERNEL_HASH:= 2f3a2ad541d011ee1a95e5900f2cc3887ced0f14ead7f1fcf070ce2a7a3f544a
  40. endif
  41. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12_48),y)
  42. KERNEL_FILE_VER:= 3.12.48
  43. KERNEL_RELEASE:= 1
  44. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  45. KERNEL_HASH:= 3f4263d06b062a85c83a15fc5616af60af56d154b18ae393306f2ba445bc7bd7
  46. endif
  47. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_10_90),y)
  48. KERNEL_FILE_VER:= 3.10.90
  49. KERNEL_RELEASE:= 1
  50. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  51. KERNEL_HASH:= 5a6725d4f425f1dc8b033bd29aaabae7402c82e0c527c3aed61c29a8f7b05ee3
  52. endif
  53. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_4_109),y)
  54. KERNEL_FILE_VER:= 3.4.109
  55. KERNEL_RELEASE:= 1
  56. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  57. KERNEL_HASH:= e20c22b3362c2b701111faea6c92d266a387d28e94e14426e9fc31a918c1a5bd
  58. endif
  59. ifeq ($(ADK_TARGET_KERNEL_VERSION_3_2_71),y)
  60. KERNEL_FILE_VER:= 3.2.71
  61. KERNEL_RELEASE:= 1
  62. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  63. KERNEL_HASH:= eadbf2f230c432f214e0449dbfdb7ae0080d321da2e38d63c1a77eda57896442
  64. endif
  65. ifeq ($(ADK_TARGET_KERNEL_VERSION_2_6_32_68),y)
  66. KERNEL_FILE_VER:= 2.6.32.68
  67. KERNEL_RELEASE:= 1
  68. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  69. KERNEL_HASH:= f56ca7f9ae41a80b37b42a9aa6367d6b054cde8a32ef3585a8b7b1fecd1c399e
  70. endif