kernel-ver.mk 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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_KERNEL_VERSION_GIT),y)
  13. KERNEL_FILE_VER:= $(ADK_KERNEL_HASH)
  14. KERNEL_RELEASE:= 1
  15. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  16. endif
  17. ifeq ($(ADK_KERNEL_VERSION_4_1_3),y)
  18. KERNEL_FILE_VER:= 4.1.3
  19. KERNEL_RELEASE:= 1
  20. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  21. KERNEL_HASH:= 96dd2c30984408a8a2211463618c3564514239f1e4335f6bc461c4b9a9bae30b
  22. endif
  23. ifeq ($(ADK_KERNEL_VERSION_3_18_16),y)
  24. KERNEL_FILE_VER:= 3.18.16
  25. KERNEL_RELEASE:= 1
  26. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  27. KERNEL_HASH:= d98e8dc54cdb0d0cdf42533413f4079c983899a5dbd5a46c4c62ea5715184530
  28. endif
  29. ifeq ($(ADK_KERNEL_VERSION_3_14_45),y)
  30. KERNEL_FILE_VER:= 3.14.45
  31. KERNEL_RELEASE:= 1
  32. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  33. KERNEL_HASH:= 8c745b47b3ae0631b2e59423dc255dccbc64d599f9183b390b442dd500e5cb49
  34. endif
  35. ifeq ($(ADK_KERNEL_VERSION_3_12_44),y)
  36. KERNEL_FILE_VER:= 3.12.44
  37. KERNEL_RELEASE:= 1
  38. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  39. KERNEL_HASH:= 08a64346a8dcb7e938b2a8a34fc94ac0207b8e2ab5884e761458c6151359de15
  40. endif
  41. ifeq ($(ADK_KERNEL_VERSION_3_10_81),y)
  42. KERNEL_FILE_VER:= 3.10.81
  43. KERNEL_RELEASE:= 1
  44. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  45. KERNEL_HASH:= cf8e4c6e67783aa65ab52eda043054945f4d0da0cf739ad90841f4e4354fea43
  46. endif
  47. ifeq ($(ADK_KERNEL_VERSION_3_4_108),y)
  48. KERNEL_FILE_VER:= 3.4.108
  49. KERNEL_RELEASE:= 1
  50. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  51. KERNEL_HASH:= 55c65bc82a6168625ffc8145a644515e77047684f30f7382456948619763be75
  52. endif
  53. ifeq ($(ADK_KERNEL_VERSION_3_2_69),y)
  54. KERNEL_FILE_VER:= 3.2.69
  55. KERNEL_RELEASE:= 1
  56. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  57. KERNEL_HASH:= a331bf981114f0959a543c47210dd455c47971017d3ee74fa72d14bb8754473b
  58. endif
  59. ifeq ($(ADK_KERNEL_VERSION_2_6_32_67),y)
  60. KERNEL_FILE_VER:= 2.6.32.67
  61. KERNEL_RELEASE:= 1
  62. KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
  63. KERNEL_HASH:= b472eb8758404dcbbcdb0fdce60b98e60aadcb4408c485faef5ab7a29cf994b0
  64. endif