diff options
Diffstat (limited to 'recipes-kernel/linux')
-rw-r--r-- | recipes-kernel/linux/linux-yocto/ebtables.cfg | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/ebtables.scc | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/lxc.cfg | 22 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/lxc.scc | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/vswitch.cfg | 2 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/vswitch.scc | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/xen.cfg | 54 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/xen.scc | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/xt-checksum.cfg | 1 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto/xt-checksum.scc | 4 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.10.bbappend | 19 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.14.bbappend | 19 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-yocto_3.4.bbappend | 16 |
13 files changed, 155 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto/ebtables.cfg b/recipes-kernel/linux/linux-yocto/ebtables.cfg new file mode 100644 index 00000000..a3c514e1 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/ebtables.cfg | |||
@@ -0,0 +1,2 @@ | |||
1 | CONFIG_BRIDGE_NF_EBTABLES=m | ||
2 | CONFIG_BRIDGE_EBT_T_NAT=m | ||
diff --git a/recipes-kernel/linux/linux-yocto/ebtables.scc b/recipes-kernel/linux/linux-yocto/ebtables.scc new file mode 100644 index 00000000..b3895e58 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/ebtables.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable ebtables support" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconf non-hardware ebtables.cfg | ||
diff --git a/recipes-kernel/linux/linux-yocto/lxc.cfg b/recipes-kernel/linux/linux-yocto/lxc.cfg new file mode 100644 index 00000000..f720ca6d --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/lxc.cfg | |||
@@ -0,0 +1,22 @@ | |||
1 | CONFIG_CGROUP_DEVICE=y | ||
2 | CONFIG_CPUSETS=y | ||
3 | CONFIG_PROC_PID_CPUSET=y | ||
4 | CONFIG_RESOURCE_COUNTERS=y | ||
5 | CONFIG_CGROUP_MEM_RES_CTLR=y | ||
6 | CONFIG_CGROUP_SCHED=y | ||
7 | CONFIG_FAIR_GROUP_SCHED=y | ||
8 | CONFIG_RT_GROUP_SCHED=y | ||
9 | CONFIG_CHECKPOINT_RESTORE=y | ||
10 | CONFIG_NAMESPACES=y | ||
11 | CONFIG_UTS_NS=y | ||
12 | CONFIG_IPC_NS=y | ||
13 | CONFIG_USER_NS=y | ||
14 | CONFIG_PID_NS=y | ||
15 | CONFIG_NET_NS=y | ||
16 | CONFIG_SECCOMP=y | ||
17 | CONFIG_SECURITY_APPARMOR=y | ||
18 | |||
19 | CONFIG_CLS_CGROUP=m | ||
20 | CONFIG_BLK_CGROUP=m | ||
21 | CONFIG_NETPRIO_CGROUP=m | ||
22 | |||
diff --git a/recipes-kernel/linux/linux-yocto/lxc.scc b/recipes-kernel/linux/linux-yocto/lxc.scc new file mode 100644 index 00000000..ee518835 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/lxc.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable Features needed by LxC, namespaces, cgroups et.c." | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconf non-hardware lxc.cfg | ||
diff --git a/recipes-kernel/linux/linux-yocto/vswitch.cfg b/recipes-kernel/linux/linux-yocto/vswitch.cfg new file mode 100644 index 00000000..00675042 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/vswitch.cfg | |||
@@ -0,0 +1,2 @@ | |||
1 | CONFIG_OPENVSWITCH=m | ||
2 | CONFIG_NET_SCH_INGRESS=m | ||
diff --git a/recipes-kernel/linux/linux-yocto/vswitch.scc b/recipes-kernel/linux/linux-yocto/vswitch.scc new file mode 100644 index 00000000..2790b4fe --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/vswitch.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Enable in kernel OpenvSwitch module" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconf non-hardware vswitch.cfg | ||
diff --git a/recipes-kernel/linux/linux-yocto/xen.cfg b/recipes-kernel/linux/linux-yocto/xen.cfg new file mode 100644 index 00000000..4e796b95 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/xen.cfg | |||
@@ -0,0 +1,54 @@ | |||
1 | ### | ||
2 | # linux 3.4, 3.8 | ||
3 | CONFIG_PARAVIRT_GUEST=y | ||
4 | ### | ||
5 | |||
6 | ### | ||
7 | # linux 3.10 | ||
8 | CONFIG_HYPERVISOR_GUEST=y | ||
9 | ### | ||
10 | |||
11 | CONFIG_PARAVIRT=y | ||
12 | CONFIG_XEN=y | ||
13 | CONFIG_XEN_DOM0=y | ||
14 | CONFIG_XEN_PRIVILEGED_GUEST=y | ||
15 | CONFIG_XEN_PVHVM=y | ||
16 | CONFIG_XEN_MAX_DOMAIN_MEMORY=500 | ||
17 | CONFIG_XEN_SAVE_RESTORE=y | ||
18 | CONFIG_PARAVIRT_CLOCK=y | ||
19 | CONFIG_HIBERNATE_CALLBACKS=y | ||
20 | CONFIG_PCI_XEN=y | ||
21 | CONFIG_XEN_PCIDEV_FRONTEND=y | ||
22 | CONFIG_SYS_HYPERVISOR=y | ||
23 | CONFIG_XEN_BLKDEV_FRONTEND=y | ||
24 | CONFIG_XEN_BLKDEV_BACKEND=m | ||
25 | CONFIG_XEN_NETDEV_FRONTEND=y | ||
26 | CONFIG_XEN_NETDEV_BACKEND=m | ||
27 | CONFIG_INPUT_MISC=y | ||
28 | CONFIG_INPUT_XEN_KBDDEV_FRONTEND=y | ||
29 | CONFIG_HVC_IRQ=y | ||
30 | CONFIG_HVC_XEN=y | ||
31 | CONFIG_HVC_XEN_FRONTEND=y | ||
32 | CONFIG_XEN_WDT=m | ||
33 | CONFIG_FB_SYS_FILLRECT=y | ||
34 | CONFIG_FB_SYS_COPYAREA=y | ||
35 | CONFIG_FB_SYS_IMAGEBLIT=y | ||
36 | CONFIG_FB_SYS_FOPS=y | ||
37 | CONFIG_FB_DEFERRED_IO=y | ||
38 | CONFIG_XEN_FBDEV_FRONTEND=y | ||
39 | CONFIG_XEN_BALLOON=y | ||
40 | CONFIG_XEN_SCRUB_PAGES=y | ||
41 | CONFIG_XEN_DEV_EVTCHN=y | ||
42 | CONFIG_XEN_BACKEND=y | ||
43 | CONFIG_XENFS=y | ||
44 | CONFIG_XEN_COMPAT_XENFS=y | ||
45 | CONFIG_XEN_SYS_HYPERVISOR=y | ||
46 | CONFIG_XEN_XENBUS_FRONTEND=y | ||
47 | CONFIG_XEN_GNTDEV=m | ||
48 | CONFIG_XEN_GRANT_DEV_ALLOC=m | ||
49 | CONFIG_SWIOTLB_XEN=y | ||
50 | CONFIG_XEN_PCIDEV_BACKEND=m | ||
51 | CONFIG_XEN_PRIVCMD=y | ||
52 | CONFIG_XEN_ACPI_PROCESSOR=m | ||
53 | CONFIG_XEN_MCE_LOG=y | ||
54 | CONFIG_XEN_HAVE_PVMMU=y | ||
diff --git a/recipes-kernel/linux/linux-yocto/xen.scc b/recipes-kernel/linux/linux-yocto/xen.scc new file mode 100644 index 00000000..b588e5df --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/xen.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Xen Kernel Support" | ||
2 | define KFEATURE_COMPATIBILITY arch | ||
3 | |||
4 | kconf non-hardware xen.cfg | ||
diff --git a/recipes-kernel/linux/linux-yocto/xt-checksum.cfg b/recipes-kernel/linux/linux-yocto/xt-checksum.cfg new file mode 100644 index 00000000..58afbff6 --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/xt-checksum.cfg | |||
@@ -0,0 +1 @@ | |||
CONFIG_NETFILTER_XT_TARGET_CHECKSUM=m | |||
diff --git a/recipes-kernel/linux/linux-yocto/xt-checksum.scc b/recipes-kernel/linux/linux-yocto/xt-checksum.scc new file mode 100644 index 00000000..d3804f0c --- /dev/null +++ b/recipes-kernel/linux/linux-yocto/xt-checksum.scc | |||
@@ -0,0 +1,4 @@ | |||
1 | define KFEATURE_DESCRIPTION "Add extra iptables modules" | ||
2 | define KFEATURE_COMPATIBILITY board | ||
3 | |||
4 | kconf non-hardware xt-checksum.cfg | ||
diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend new file mode 100644 index 00000000..c029c05e --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend | |||
@@ -0,0 +1,19 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += "file://xt-checksum.scc \ | ||
4 | file://ebtables.scc \ | ||
5 | file://vswitch.scc \ | ||
6 | file://lxc.scc \ | ||
7 | " | ||
8 | module_autoload_openvswitch = "openvswitch" | ||
9 | KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc" | ||
10 | |||
11 | module_autoload_kvm = "kvm" | ||
12 | module_autoload_kvm-amd = "kvm-amd" | ||
13 | module_autoload_kvm-intel = "kvm-intel" | ||
14 | |||
15 | # aufs kernel support required for xen-image-minimal | ||
16 | KERNEL_FEATURES_append += "${@base_contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}" | ||
17 | |||
18 | # xen kernel support | ||
19 | SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" | ||
diff --git a/recipes-kernel/linux/linux-yocto_3.14.bbappend b/recipes-kernel/linux/linux-yocto_3.14.bbappend new file mode 100644 index 00000000..c029c05e --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.14.bbappend | |||
@@ -0,0 +1,19 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += "file://xt-checksum.scc \ | ||
4 | file://ebtables.scc \ | ||
5 | file://vswitch.scc \ | ||
6 | file://lxc.scc \ | ||
7 | " | ||
8 | module_autoload_openvswitch = "openvswitch" | ||
9 | KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc" | ||
10 | |||
11 | module_autoload_kvm = "kvm" | ||
12 | module_autoload_kvm-amd = "kvm-amd" | ||
13 | module_autoload_kvm-intel = "kvm-intel" | ||
14 | |||
15 | # aufs kernel support required for xen-image-minimal | ||
16 | KERNEL_FEATURES_append += "${@base_contains('DISTRO_FEATURES', 'aufs', ' features/aufs/aufs-enable.scc', '', d)}" | ||
17 | |||
18 | # xen kernel support | ||
19 | SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" | ||
diff --git a/recipes-kernel/linux/linux-yocto_3.4.bbappend b/recipes-kernel/linux/linux-yocto_3.4.bbappend new file mode 100644 index 00000000..bf84725a --- /dev/null +++ b/recipes-kernel/linux/linux-yocto_3.4.bbappend | |||
@@ -0,0 +1,16 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += "file://xt-checksum.scc \ | ||
4 | file://ebtables.scc \ | ||
5 | file://vswitch.scc \ | ||
6 | file://lxc.scc \ | ||
7 | " | ||
8 | module_autoload_openvswitch = "openvswitch" | ||
9 | KERNEL_FEATURES_append = " features/kvm/qemu-kvm-enable.scc" | ||
10 | |||
11 | module_autoload_kvm = "kvm" | ||
12 | module_autoload_kvm-amd = "kvm-amd" | ||
13 | module_autoload_kvm-intel = "kvm-intel" | ||
14 | |||
15 | # xen kernel support | ||
16 | SRC_URI += "${@base_contains('DISTRO_FEATURES', 'xen', ' file://xen.scc', '', d)}" | ||