grub: rework package, add mips support, update to latest git
[openadk.git] / mk / linux.mk
blobfb4e983e2f3572d631c863a5f4a31862de2bd0dc
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 PKG_NAME:= linux
5 PKG_RELEASE:= $(KERNEL_RELEASE)
6 ifeq ($(ADK_TARGET_KERNEL_GIT),y)
7 ifneq ($(ADK_TARGET_KERNEL_HASH),)
8 PKG_VERSION:= $(ADK_TARGET_KERNEL_HASH)
9 else
10 PKG_VERSION:= $(ADK_KERNEL_GITVER)
11 endif
12 PKG_SITES:= $(ADK_TARGET_KERNEL_REPO)
13 else
14 PKG_VERSION:= $(KERNEL_FILE_VER)
15 PKG_HASH:= $(KERNEL_HASH)
16 PKG_SITES:= ${MASTER_SITE_KERNEL:=kernel/v4.x/} \
17 ${MASTER_SITE_KERNEL:=kernel/v3.x/} \
18 ${MASTER_SITE_KERNEL:=kernel/v3.0/testing/} \
19 ${MASTER_SITE_KERNEL:=kernel/v4.x/testing/} \
20 ${MASTER_SITE_KERNEL:=kernel/v2.6/longterm/v2.6.32/}
21 DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.xz
22 endif