summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
authorDarren Hart <dvhart@linux.intel.com>2012-10-05 22:30:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-10-10 15:24:12 +0100
commit13bf7c129933d9fa5e0826879e6f42835104221c (patch)
treeacd995a0669a6cddec5ca4c11f12e9306af32857 /meta/recipes-kernel
parent6d45c9f72de049b53a72bc29c5abadc020b658ee (diff)
downloadpoky-13bf7c129933d9fa5e0826879e6f42835104221c.tar.gz
linux-yocto-tiny: Add tiny recipe for the 3.4 linux-yocto kernel
This recipe builds the "tiny" kernel type defined by the linux-yocto meta-data. Support is defined for the qemux86 machine via common-pc-tiny.scc in the linux-yocto meta branch. The resulting kernel is 1.8 MB and boots to a serial console with with qemux86 and core-image-minimal using the following command: qemu -kernel tmp/deploy/images/bzImage-qemux86.bin -initrd tmp/deploy/images/core-image-minimal-qemux86.cpio.gz -append "root=/dev/ram0 console=ttyS0" -nographic (From OE-Core rev: cf25f211ec420e1e8dd48c8e62f60deefe2c6d53) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb27
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
new file mode 100644
index 0000000000..a0c8ffb596
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.4.bb
@@ -0,0 +1,27 @@
1require recipes-kernel/linux/linux-yocto.inc
2
3# We need lzma (as CONFIG_KERNEL_LZMA=y)
4DEPENDS += "xz-native"
5
6KBRANCH_DEFAULT = "standard/tiny/base"
7KBRANCH = "${KBRANCH_DEFAULT}"
8LINUX_KERNEL_TYPE = "tiny"
9KCONFIG_MODE = "--allnoconfig"
10
11LINUX_VERSION ?= "3.4.11"
12
13KMETA = "meta"
14
15SRCREV_machine ?= "3fa06aa29078fdb2af431de2d3fdae7d281ba85f"
16SRCREV_meta ?= "a201268353c030d9fafe00f2041976f7437d9386"
17
18
19PR = "${INC_PR}.0"
20PV = "${LINUX_VERSION}+git${SRCPV}"
21
22SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.4;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta"
23
24COMPATIBLE_MACHINE = "(qemux86)"
25
26# Functionality flags
27KERNEL_FEATURES = ""