aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2014-01-29 13:37:59 +0100
committerKoen Kooi <koen.kooi@linaro.org>2014-02-07 12:34:08 +0000
commit8e7ff19fd006f5e6ca7010d525acb61967f23008 (patch)
tree169aa6c1423318d32ecb03a19c4644b01296cdeb
parent1109861f5ab36098e4cc3d0bc0bcd8d7555a55e2 (diff)
downloadmeta-linaro-8e7ff19fd006f5e6ca7010d525acb61967f23008.tar.gz
recipes-kernel/linux: new kernel recipes for LNG
1. added a linux-lng kernel. 2. added a linux-lng-preempt-rt kernel. Change-Id: Ia637a5e7b18ece620a696807dcb804c31a0213f2 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r--meta-linaro/recipes-kernel/linux/linaro-lng-rt-x86-64_git.bb9
-rw-r--r--meta-linaro/recipes-kernel/linux/linaro-lng-x86-64_git.bb9
-rw-r--r--meta-linaro/recipes-kernel/linux/linaro-lng.inc29
3 files changed, 47 insertions, 0 deletions
diff --git a/meta-linaro/recipes-kernel/linux/linaro-lng-rt-x86-64_git.bb b/meta-linaro/recipes-kernel/linux/linaro-lng-rt-x86-64_git.bb
new file mode 100644
index 0000000..6728fff
--- /dev/null
+++ b/meta-linaro/recipes-kernel/linux/linaro-lng-rt-x86-64_git.bb
@@ -0,0 +1,9 @@
+DESCRIPTION = "Linaro LNG Kernel For x86"
+
+require linaro-lng.inc
+
+PV = "3.10+git${SRCPV}"
+
+inherit kernel siteinfo
+
+SRC_URI = "git://git.linaro.org/kernel/linux-linaro-lng.git;branch=linux-lng-preempt-rt"
diff --git a/meta-linaro/recipes-kernel/linux/linaro-lng-x86-64_git.bb b/meta-linaro/recipes-kernel/linux/linaro-lng-x86-64_git.bb
new file mode 100644
index 0000000..b4fa65c
--- /dev/null
+++ b/meta-linaro/recipes-kernel/linux/linaro-lng-x86-64_git.bb
@@ -0,0 +1,9 @@
+DESCRIPTION = "Linaro LNG Kernel For x86"
+
+require linaro-lng.inc
+
+PV = "3.10+git${SRCPV}"
+
+inherit kernel siteinfo
+
+SRC_URI = "git://git.linaro.org/kernel/linux-linaro-lng.git;branch=linux-lng"
diff --git a/meta-linaro/recipes-kernel/linux/linaro-lng.inc b/meta-linaro/recipes-kernel/linux/linaro-lng.inc
new file mode 100644
index 0000000..7cdfb32
--- /dev/null
+++ b/meta-linaro/recipes-kernel/linux/linaro-lng.inc
@@ -0,0 +1,29 @@
+DESCRIPTION = "Linaro LNG Kernel Basic support recipe"
+SECTION = "kernel"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7"
+
+SRCREV = "${AUTOREV}"
+SRCREV_FORMAT = "kernel"
+S = "${WORKDIR}/git"
+
+do_configure_prepend_lng-x86-64() {
+ scripts/kconfig/merge_config.sh -m arch/x86/configs/x86_64_defconfig \
+ linaro/configs/hugepage.conf linaro/configs/ovs.conf \
+ linaro/configs/kvm-host.conf linaro/configs/no_hz_full.conf
+ scripts/config -e CONFIG_DEVTMPFS
+ scripts/config -e CONFIG_DEVTMPFS_MOUNT
+ scripts/config -e CONFIG_E1000E
+ scripts/config -e CONFIG_IXGBE
+}
+
+do_configure_prepend_lng-rt-x86-64() {
+ scripts/kconfig/merge_config.sh -m arch/x86/configs/x86_64_defconfig \
+ linaro/configs/hugepage.conf linaro/configs/preempt-rt.conf \
+ linaro/configs/ovs.conf linaro/configs/kvm-host.conf \
+ linaro/configs/no_hz_full.conf
+ scripts/config -e CONFIG_DEVTMPFS
+ scripts/config -e CONFIG_DEVTMPFS_MOUNT
+ scripts/config -e CONFIG_E1000E
+ scripts/config -e CONFIG_IXGBE
+}