summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/kernel-ver.mk5
-rw-r--r--mk/linux.mk5
2 files changed, 8 insertions, 2 deletions
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk
index 7a06e4cf9..7f59ff489 100644
--- a/mk/kernel-ver.mk
+++ b/mk/kernel-ver.mk
@@ -1,3 +1,8 @@
+ifeq ($(ADK_KERNEL_VERSION_GIT),y)
+KERNEL_VERSION:= $(ADK_KERNEL_HASH)
+KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
+KERNEL_RELEASE:= 1
+endif
ifeq ($(ADK_KERNEL_VERSION_4_1_2),y)
KERNEL_VERSION:= 4.1.2
KERNEL_MOD_VERSION:= $(KERNEL_VERSION)
diff --git a/mk/linux.mk b/mk/linux.mk
index bd014c20f..9d18f35f0 100644
--- a/mk/linux.mk
+++ b/mk/linux.mk
@@ -2,12 +2,13 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= linux
-PKG_VERSION:= $(KERNEL_VERSION)
PKG_RELEASE:= $(KERNEL_RELEASE)
ifeq ($(ADK_KERNEL_VERSION_GIT),y)
-PKG_SITES:= $(ADK_KERNEL_REPO)
PKG_VERSION:= $(ADK_KERNEL_HASH)
+PKG_SITES:= $(ADK_KERNEL_REPO)
else
+PKG_VERSION:= $(KERNEL_VERSION)
+PKG_HASH:= $(KERNEL_HASH)
PKG_SITES:= ${MASTER_SITE_KERNEL:=kernel/v4.x/} \
${MASTER_SITE_KERNEL:=kernel/v3.x/} \
${MASTER_SITE_KERNEL:=kernel/v3.0/testing/} \