linux.mk 704 B

12345678910111213141516171819
  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_VERSION_GIT),y)
  6. PKG_VERSION:= $(ADK_TARGET_KERNEL_GITVER)
  7. PKG_GIT:= $(ADK_TARGET_KERNEL_GITTYPE)
  8. PKG_SITES:= $(ADK_TARGET_KERNEL_REPO)
  9. else
  10. PKG_VERSION:= $(KERNEL_FILE_VER)
  11. PKG_SITES:= ${MASTER_SITE_KERNEL:=kernel/v4.x/} \
  12. ${MASTER_SITE_KERNEL:=kernel/v3.x/} \
  13. ${MASTER_SITE_KERNEL:=kernel/v3.0/testing/} \
  14. ${MASTER_SITE_KERNEL:=kernel/v4.x/testing/} \
  15. ${MASTER_SITE_KERNEL:=kernel/v2.6/longterm/v2.6.32/}
  16. PKG_HASH:= $(KERNEL_HASH)
  17. DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.xz
  18. endif