1
0

linux.mk 736 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_KERNEL_GIT),y)
  6. ifneq ($(ADK_TARGET_KERNEL_HASH),)
  7. PKG_VERSION:= $(ADK_TARGET_KERNEL_HASH)
  8. else
  9. PKG_VERSION:= $(ADK_KERNEL_GITVER)
  10. endif
  11. PKG_SITES:= $(ADK_TARGET_KERNEL_REPO)
  12. else
  13. PKG_VERSION:= $(KERNEL_FILE_VER)
  14. PKG_HASH:= $(KERNEL_HASH)
  15. PKG_SITES:= ${MASTER_SITE_KERNEL:=kernel/v4.x/} \
  16. ${MASTER_SITE_KERNEL:=kernel/v3.x/} \
  17. ${MASTER_SITE_KERNEL:=kernel/v3.0/testing/} \
  18. ${MASTER_SITE_KERNEL:=kernel/v4.x/testing/} \
  19. ${MASTER_SITE_KERNEL:=kernel/v2.6/longterm/v2.6.32/}
  20. DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.xz
  21. endif