summaryrefslogtreecommitdiff
path: root/mk/linux.mk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-15 20:22:08 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-15 20:22:08 +0200
commitec437ac8b251eca744d484207a7858eb8b70362a (patch)
tree48446de648ee67c153bd022d77d210b21d67df79 /mk/linux.mk
parent3e377198a0453e9077f578357fca03ac82b11c1e (diff)
allow more than one kernel to be configured, add shuttle pc support
Diffstat (limited to 'mk/linux.mk')
-rw-r--r--mk/linux.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/linux.mk b/mk/linux.mk
index c880d8c2a..8cc68467f 100644
--- a/mk/linux.mk
+++ b/mk/linux.mk
@@ -4,6 +4,8 @@
PKG_NAME:= linux
PKG_VERSION:= $(KERNEL_VERSION)
PKG_RELEASE:= $(KERNEL_RELEASE)
-PKG_MD5SUM= $(KERNEL_MD5SUM)
-PKG_SITES= ${MASTER_SITE_KERNEL:=kernel/v2.6/}
+PKG_MD5SUM:= $(KERNEL_MD5SUM)
+PKG_VERSION_MAJOR:=$(word 1,$(subst ., ,$(subst -, ,$(PKG_VERSION))))
+PKG_VERSION_MINOR:=$(word 2,$(subst ., ,$(subst -, ,$(PKG_VERSION))))
+PKG_SITES:= ${MASTER_SITE_KERNEL:=kernel/v$(PKG_VERSION_MAJOR).$(PKG_VERSION_MINOR)/}
DISTFILES= $(PKG_NAME)-$(PKG_VERSION).tar.bz2