linux.mk 855 B

12345678910111213141516171819202122
  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. PKG_NAME:= linux
  4. PKG_RELEASE:= $(KERNEL_RELEASE)
  5. ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_GIT),y)
  6. PKG_VERSION:= $(ADK_TARGET_LINUX_KERNEL_GIT)
  7. PKG_GIT:= $(ADK_TARGET_LINUX_KERNEL_GIT_TYPE)
  8. PKG_SITES:= $(ADK_TARGET_LINUX_KERNEL_GIT_REPO)
  9. DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.gz
  10. else
  11. PKG_VERSION:= $(KERNEL_FILE_VER)
  12. PKG_SITES:= ${MASTER_SITE_KERNEL:=kernel/v6.x/} \
  13. ${MASTER_SITE_KERNEL:=kernel/v5.x/} \
  14. ${MASTER_SITE_KERNEL:=kernel/v4.x/} \
  15. ${MASTER_SITE_KERNEL:=kernel/v3.x/} \
  16. ${MASTER_SITE_KERNEL:=kernel/v3.0/testing/} \
  17. ${MASTER_SITE_KERNEL:=kernel/v4.x/testing/} \
  18. ${MASTER_SITE_KERNEL:=kernel/v2.6/longterm/v2.6.32/}
  19. PKG_HASH:= $(KERNEL_HASH)
  20. DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.xz
  21. endif