egrep is deprecated use grep -E
[openadk.git] / mk / linux.mk
blob09f62c2da9603fbe9f1aa438360f2e075e14295e
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_LINUX_KERNEL_VERSION_GIT),y)
7 PKG_VERSION:= $(ADK_TARGET_LINUX_KERNEL_GIT)
8 PKG_GIT:= $(ADK_TARGET_LINUX_KERNEL_GIT_TYPE)
9 PKG_SITES:= $(ADK_TARGET_LINUX_KERNEL_GIT_REPO)
10 DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.gz
11 else
12 PKG_VERSION:= $(KERNEL_FILE_VER)
13 PKG_SITES:= ${MASTER_SITE_KERNEL:=kernel/v6.x/} \
14 ${MASTER_SITE_KERNEL:=kernel/v5.x/} \
15 ${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 PKG_HASH:= $(KERNEL_HASH)
21 DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.xz
22 endif