linux.mk 663 B

123456789101112131415161718
  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_HASH)
  7. PKG_SITES:= $(ADK_TARGET_KERNEL_REPO)
  8. else
  9. PKG_VERSION:= $(KERNEL_FILE_VER)
  10. PKG_HASH:= $(KERNEL_HASH)
  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. DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.xz
  17. endif