summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-26 12:33:02 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-26 12:33:15 +0100
commitf4570955a7c20dbc43afc698a2f9fed5393a0881 (patch)
treeee9378fcf060fb61d262f3d0523c96b53dfae3a8 /mk
parent0cc22b4e75d96c042dd30067297a93323d2183f2 (diff)
add experimental support for xtensa de212 core
Diffstat (limited to 'mk')
-rw-r--r--mk/kernel-ver.mk4
-rw-r--r--mk/linux.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/mk/kernel-ver.mk b/mk/kernel-ver.mk
index eb04c4f30..e688c3de2 100644
--- a/mk/kernel-ver.mk
+++ b/mk/kernel-ver.mk
@@ -11,7 +11,11 @@
# KERNEL_VERSION: final kernel version how we want to identify a specific kernel
ifeq ($(ADK_TARGET_KERNEL_VERSION_GIT),y)
+ifneq ($(ADK_TARGET_KERNEL_HASH),)
KERNEL_FILE_VER:= $(ADK_TARGET_KERNEL_HASH)
+else
+KERNEL_FILE_VER:= git
+endif
KERNEL_RELEASE:= 1
KERNEL_VERSION:= $(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
endif
diff --git a/mk/linux.mk b/mk/linux.mk
index 543f194ba..dabdc37ef 100644
--- a/mk/linux.mk
+++ b/mk/linux.mk
@@ -4,7 +4,11 @@
PKG_NAME:= linux
PKG_RELEASE:= $(KERNEL_RELEASE)
ifeq ($(ADK_TARGET_KERNEL_VERSION_GIT),y)
+ifneq ($(ADK_TARGET_KERNEL_HASH),)
PKG_VERSION:= $(ADK_TARGET_KERNEL_HASH)
+else
+PKG_VERSION:= git
+endif
PKG_SITES:= $(ADK_TARGET_KERNEL_REPO)
else
PKG_VERSION:= $(KERNEL_FILE_VER)