summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdrian Dudau <adrian.dudau@enea.com>2016-02-05 12:34:03 (GMT)
committerNora Björklund <nora.bjorklund@enea.com>2016-02-15 09:59:38 (GMT)
commit6df97385b2af0423963b3eb159b0b504b9fc3e0e (patch)
tree93a39683c8e9efc8da0c7e5d1df3f9a07cb0b8dd
parent45d2e484f1262f1d5f5e3602f1e0fa5f6f88abf9 (diff)
downloadmeta-enea-bsp-common-6df97385b2af0423963b3eb159b0b504b9fc3e0e.tar.gz
add kernel configs
These are moved from meta-enea-base Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Nora Björklund <nora.bjorklund@enea.com>
-rw-r--r--recipes-kernel/linux/enea-common.inc12
-rw-r--r--recipes-kernel/linux/files/cfg/00001-embedded.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00002-root_nfs.cfg7
-rw-r--r--recipes-kernel/linux/files/cfg/00003-fuse.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00004-systemtap.cfg6
-rw-r--r--recipes-kernel/linux/files/cfg/00005-pramfs.cfg4
-rw-r--r--recipes-kernel/linux/files/cfg/00006-with_modules.cfg5
-rw-r--r--recipes-kernel/linux/files/cfg/00007-oprofile.cfg4
-rw-r--r--recipes-kernel/linux/files/cfg/00008-uio_m.cfg3
-rw-r--r--recipes-kernel/linux/files/cfg/00009-e500mc_debug.cfg6
-rw-r--r--recipes-kernel/linux/files/cfg/00010-pramfs-bsc913x.cfg5
-rw-r--r--recipes-kernel/linux/files/cfg/00012-preempt.cfg9
-rw-r--r--recipes-kernel/linux/files/cfg/00013-localversion.cfg2
-rw-r--r--recipes-kernel/linux/files/cfg/00014-kgdb.cfg9
-rw-r--r--recipes-kernel/linux/files/cfg/00015-uio.cfg3
-rw-r--r--recipes-kernel/linux/files/cfg/00016-largefilessupport.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00017-preempt_keystone.cfg7
-rw-r--r--recipes-kernel/linux/files/cfg/00018-rt.cfg3
-rw-r--r--recipes-kernel/linux/files/cfg/00019-i2c.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00021-bootlogd.cfg2
-rw-r--r--recipes-kernel/linux/files/cfg/00022-mtd_tests.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00023-ikconfig.cfg2
-rw-r--r--recipes-kernel/linux/files/cfg/00024-preempt_romley-ivb.cfg8
-rw-r--r--recipes-kernel/linux/files/cfg/00025-powertop.cfg13
-rw-r--r--recipes-kernel/linux/files/cfg/00026-ltp.cfg3
-rw-r--r--recipes-kernel/linux/files/cfg/00027-lttng.cfg20
-rw-r--r--recipes-kernel/linux/files/cfg/00028-perf.cfg2
-rw-r--r--recipes-kernel/linux/files/cfg/00029-devtmpfs.cfg2
-rw-r--r--recipes-kernel/linux/files/cfg/00030-latencytop.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00031-igb_drv.cfg3
-rw-r--r--recipes-kernel/linux/files/cfg/00032-dpa.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00033-kprobes.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00034-cpusets.cfg3
-rw-r--r--recipes-kernel/linux/files/cfg/00035-netfilter.cfg113
-rw-r--r--recipes-kernel/linux/files/cfg/00036-ppc_virt.cfg5
-rw-r--r--recipes-kernel/linux/files/cfg/00037-ppc_lxc.cfg30
-rw-r--r--recipes-kernel/linux/files/cfg/00038-hotplug_cpu.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00039-nohz.cfg9
-rw-r--r--recipes-kernel/linux/files/cfg/00040-9p.cfg5
-rw-r--r--recipes-kernel/linux/files/cfg/00041-virtio.cfg8
-rw-r--r--recipes-kernel/linux/files/cfg/00042-vhost.cfg2
-rw-r--r--recipes-kernel/linux/files/cfg/00043-containers.cfg18
-rw-r--r--recipes-kernel/linux/files/cfg/00044-numa.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00045-pci-stub.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00046-sata.cfg5
-rw-r--r--recipes-kernel/linux/files/cfg/00047-bridge.cfg1
-rw-r--r--recipes-kernel/linux/files/cfg/00048-containers_no_user_ns.cfg18
-rw-r--r--recipes-kernel/linux/files/cfg/00049-gpio.cfg2
-rw-r--r--recipes-kernel/linux/files/cfg/00050-nfsdv4.cfg7
-rw-r--r--recipes-kernel/linux/files/cfg/00051-sctp.cfg4
-rw-r--r--recipes-kernel/linux/files/cfg/README9
-rwxr-xr-xrecipes-kernel/linux/files/cfg/indexcfgs.pl167
52 files changed, 557 insertions, 0 deletions
diff --git a/recipes-kernel/linux/enea-common.inc b/recipes-kernel/linux/enea-common.inc
new file mode 100644
index 0000000..192100c
--- /dev/null
+++ b/recipes-kernel/linux/enea-common.inc
@@ -0,0 +1,12 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
2
3def format_file_uri(d):
4 substrlist = d.getVar("ENEA_KERNEL_FRAGMENTS").split()
5 ostr = ''
6 for substr in substrlist:
7 ostr = ostr + " file://" + substr
8 return ostr.lstrip()
9
10ENEA_KERNEL_FRAGMENTS ??= ""
11
12SRC_URI += "${@format_file_uri(d)}"
diff --git a/recipes-kernel/linux/files/cfg/00001-embedded.cfg b/recipes-kernel/linux/files/cfg/00001-embedded.cfg
new file mode 100644
index 0000000..2f0e6bf
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00001-embedded.cfg
@@ -0,0 +1 @@
CONFIG_EMBEDDED=y
diff --git a/recipes-kernel/linux/files/cfg/00002-root_nfs.cfg b/recipes-kernel/linux/files/cfg/00002-root_nfs.cfg
new file mode 100644
index 0000000..f8d8748
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00002-root_nfs.cfg
@@ -0,0 +1,7 @@
1CONFIG_NETWORK_FILESYSTEMS=y
2CONFIG_NFS_USE_KERNEL_DNS=y
3CONFIG_ROOT_NFS=y
4CONFIG_NFS_FS=y
5CONFIG_NFS_V3=y
6CONFIG_NFS_V4=y
7CONFIG_NFSD=y
diff --git a/recipes-kernel/linux/files/cfg/00003-fuse.cfg b/recipes-kernel/linux/files/cfg/00003-fuse.cfg
new file mode 100644
index 0000000..43e95f2
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00003-fuse.cfg
@@ -0,0 +1 @@
CONFIG_FUSE_FS=y
diff --git a/recipes-kernel/linux/files/cfg/00004-systemtap.cfg b/recipes-kernel/linux/files/cfg/00004-systemtap.cfg
new file mode 100644
index 0000000..88c278c
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00004-systemtap.cfg
@@ -0,0 +1,6 @@
1CONFIG_DEBUG_INFO=y
2CONFIG_KPROBES=y
3CONFIG_RELAY=y
4CONFIG_DEBUG_FS=y
5CONFIG_MODULES=y
6CONFIG_MODULE_UNLOAD=y
diff --git a/recipes-kernel/linux/files/cfg/00005-pramfs.cfg b/recipes-kernel/linux/files/cfg/00005-pramfs.cfg
new file mode 100644
index 0000000..21aabc1
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00005-pramfs.cfg
@@ -0,0 +1,4 @@
1CONFIG_MISC_FILESYSTEMS=y
2CONFIG_PRAMFS=y
3CONFIG_PRAMFS_XATTR=y
4CONFIG_PRAMFS_TEST_MODULE=m
diff --git a/recipes-kernel/linux/files/cfg/00006-with_modules.cfg b/recipes-kernel/linux/files/cfg/00006-with_modules.cfg
new file mode 100644
index 0000000..f4b3ae2
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00006-with_modules.cfg
@@ -0,0 +1,5 @@
1CONFIG_MODULES=y
2# CONFIG_MODULE_FORCE_LOAD is not set
3CONFIG_MODULE_UNLOAD=y
4CONFIG_MODULE_FORCE_UNLOAD=y
5CONFIG_MODVERSIONS=y
diff --git a/recipes-kernel/linux/files/cfg/00007-oprofile.cfg b/recipes-kernel/linux/files/cfg/00007-oprofile.cfg
new file mode 100644
index 0000000..959e94b
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00007-oprofile.cfg
@@ -0,0 +1,4 @@
1CONFIG_PROFILING=y
2CONFIG_OPROFILE=m
3CONFIG_PROFILE_ALL_BRANCHES=y
4CONFIG_OPROFILE_NMI_TIMER=y
diff --git a/recipes-kernel/linux/files/cfg/00008-uio_m.cfg b/recipes-kernel/linux/files/cfg/00008-uio_m.cfg
new file mode 100644
index 0000000..d82eee4
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00008-uio_m.cfg
@@ -0,0 +1,3 @@
1CONFIG_UIO=m
2CONFIG_UIO_PDRV=m
3CONFIG_UIO_PDRV_GENIRQ=m
diff --git a/recipes-kernel/linux/files/cfg/00009-e500mc_debug.cfg b/recipes-kernel/linux/files/cfg/00009-e500mc_debug.cfg
new file mode 100644
index 0000000..eaddbaf
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00009-e500mc_debug.cfg
@@ -0,0 +1,6 @@
1CONFIG_FSL_EMB_PERFMON=y
2CONFIG_FSL_EMB_PERF_EVENT=y
3CONFIG_FSL_EMB_PERF_EVENT_E500=y
4
5CONFIG_PPC_OF=y
6CONFIG_PPC_UDBG_16550=y
diff --git a/recipes-kernel/linux/files/cfg/00010-pramfs-bsc913x.cfg b/recipes-kernel/linux/files/cfg/00010-pramfs-bsc913x.cfg
new file mode 100644
index 0000000..1476224
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00010-pramfs-bsc913x.cfg
@@ -0,0 +1,5 @@
1CONFIG_MISC_FILESYSTEMS=y
2CONFIG_PRAMFS=y
3CONFIG_PRAMFS_TEST=y
4CONFIG_TEST_MODULE=m
5
diff --git a/recipes-kernel/linux/files/cfg/00012-preempt.cfg b/recipes-kernel/linux/files/cfg/00012-preempt.cfg
new file mode 100644
index 0000000..43fd0bd
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00012-preempt.cfg
@@ -0,0 +1,9 @@
1CONFIG_GENERIC_LOCKBREAK=y
2CONFIG_TREE_PREEMPT_RCU=y
3CONFIG_PREEMPT_RCU=y
4CONFIG_UNINLINE_SPIN_UNLOCK=y
5CONFIG_PREEMPT=y
6CONFIG_PREEMPT__LL=y
7CONFIG_PREEMPT_COUNT=y
8CONFIG_DEBUG_PREEMPT=y
9CONFIG_RCU_CPU_STALL_VERBOSE=y
diff --git a/recipes-kernel/linux/files/cfg/00013-localversion.cfg b/recipes-kernel/linux/files/cfg/00013-localversion.cfg
new file mode 100644
index 0000000..71481b4
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00013-localversion.cfg
@@ -0,0 +1,2 @@
1CONFIG_LOCALVERSION_AUTO=n
2CONFIG_DEFAULT_HOSTNAME="(none)"
diff --git a/recipes-kernel/linux/files/cfg/00014-kgdb.cfg b/recipes-kernel/linux/files/cfg/00014-kgdb.cfg
new file mode 100644
index 0000000..f23cfe3
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00014-kgdb.cfg
@@ -0,0 +1,9 @@
1#depends
2CONFIG_DEBUG_KERNEL=y
3CONFIG_EXPERIMENTAL=y
4
5#configs
6CONFIG_KGDB=y
7CONFIG_KGDB_SERIAL_CONSOLE=y
8CONFIG_KGDB_KDB=y
9CONFIG_MAGIC_SYSRQ=y
diff --git a/recipes-kernel/linux/files/cfg/00015-uio.cfg b/recipes-kernel/linux/files/cfg/00015-uio.cfg
new file mode 100644
index 0000000..b26593e
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00015-uio.cfg
@@ -0,0 +1,3 @@
1CONFIG_UIO=y
2CONFIG_UIO_PDRV=y
3CONFIG_UIO_PDRV_GENIRQ=y
diff --git a/recipes-kernel/linux/files/cfg/00016-largefilessupport.cfg b/recipes-kernel/linux/files/cfg/00016-largefilessupport.cfg
new file mode 100644
index 0000000..b3fae70
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00016-largefilessupport.cfg
@@ -0,0 +1 @@
CONFIG_LBDAF=y
diff --git a/recipes-kernel/linux/files/cfg/00017-preempt_keystone.cfg b/recipes-kernel/linux/files/cfg/00017-preempt_keystone.cfg
new file mode 100644
index 0000000..89aea43
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00017-preempt_keystone.cfg
@@ -0,0 +1,7 @@
1CONFIG_TREE_PREEMPT_RCU=y
2CONFIG_PREEMPT_RCU=y
3CONFIG_UNINLINE_SPIN_UNLOCK=y
4CONFIG_PREEMPT=y
5CONFIG_PREEMPT_COUNT=y
6CONFIG_DEBUG_PREEMPT=y
7CONFIG_RCU_CPU_STALL_VERBOSE=y
diff --git a/recipes-kernel/linux/files/cfg/00018-rt.cfg b/recipes-kernel/linux/files/cfg/00018-rt.cfg
new file mode 100644
index 0000000..a15c930
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00018-rt.cfg
@@ -0,0 +1,3 @@
1CONFIG_PREEMPT_RT_FULL=y
2CONFIG_HZ_1000=y
3CONFIG_HZ=1000
diff --git a/recipes-kernel/linux/files/cfg/00019-i2c.cfg b/recipes-kernel/linux/files/cfg/00019-i2c.cfg
new file mode 100644
index 0000000..8dbcc3c
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00019-i2c.cfg
@@ -0,0 +1 @@
CONFIG_I2C_CHARDEV=y
diff --git a/recipes-kernel/linux/files/cfg/00021-bootlogd.cfg b/recipes-kernel/linux/files/cfg/00021-bootlogd.cfg
new file mode 100644
index 0000000..0d83d11
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00021-bootlogd.cfg
@@ -0,0 +1,2 @@
1CONFIG_LEGACY_PTYS=y
2CONFIG_LEGACY_PTY_COUNT=256
diff --git a/recipes-kernel/linux/files/cfg/00022-mtd_tests.cfg b/recipes-kernel/linux/files/cfg/00022-mtd_tests.cfg
new file mode 100644
index 0000000..1477bd7
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00022-mtd_tests.cfg
@@ -0,0 +1 @@
CONFIG_MTD_TESTS=m
diff --git a/recipes-kernel/linux/files/cfg/00023-ikconfig.cfg b/recipes-kernel/linux/files/cfg/00023-ikconfig.cfg
new file mode 100644
index 0000000..9e7666c
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00023-ikconfig.cfg
@@ -0,0 +1,2 @@
1CONFIG_IKCONFIG=y
2CONFIG_IKCONFIG_PROC=y
diff --git a/recipes-kernel/linux/files/cfg/00024-preempt_romley-ivb.cfg b/recipes-kernel/linux/files/cfg/00024-preempt_romley-ivb.cfg
new file mode 100644
index 0000000..c9b47ac
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00024-preempt_romley-ivb.cfg
@@ -0,0 +1,8 @@
1CONFIG_TREE_PREEMPT_RCU=y
2CONFIG_PREEMPT_RCU=y
3CONFIG_RCU_STALL_COMMON=y
4CONFIG_UNINLINE_SPIN_UNLOCK=y
5CONFIG_PREEMPT=y
6CONFIG_PREEMPT_COUNT=y
7CONFIG_DEBUG_PREEMPT=y
8CONFIG_RCU_CPU_STALL_VERBOSE=y
diff --git a/recipes-kernel/linux/files/cfg/00025-powertop.cfg b/recipes-kernel/linux/files/cfg/00025-powertop.cfg
new file mode 100644
index 0000000..655c101
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00025-powertop.cfg
@@ -0,0 +1,13 @@
1CONFIG_EXPERT=y
2CONFIG_PROC_FS=y
3CONFIG_DEBUG_FS=y
4CONFIG_NO_HZ=y
5CONFIG_HIGH_RES_TIMERS=y
6CONFIG_HPET_TIMER=y
7CONFIG_CPU_FREQ=y
8CONFIG_CPU_FREQ_GOV_ONDEMAND=y
9CONFIG_TIMER_STATS=y
10CONFIG_PERF_EVENTS=y
11CONFIG_TRACEPOINTS=y
12CONFIG_TRACING=y
13CONFIG_X86_MSR=y
diff --git a/recipes-kernel/linux/files/cfg/00026-ltp.cfg b/recipes-kernel/linux/files/cfg/00026-ltp.cfg
new file mode 100644
index 0000000..e36a9c2
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00026-ltp.cfg
@@ -0,0 +1,3 @@
1CONFIG_TUN=y
2CONFIG_KSM=y
3CONFIG_NUMA=y
diff --git a/recipes-kernel/linux/files/cfg/00027-lttng.cfg b/recipes-kernel/linux/files/cfg/00027-lttng.cfg
new file mode 100644
index 0000000..1334194
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00027-lttng.cfg
@@ -0,0 +1,20 @@
1CONFIG_MODULES=y
2CONFIG_KALLSYMS=y
3CONFIG_HIGH_RES_TIMERS=y
4CONFIG_TRACEPOINTS=y
5CONFIG_FTRACE=y
6CONFIG_PERF_EVENTS=y
7CONFIG_EVENT_TRACING=y
8CONFIG_KPROBES=y
9CONFIG_KRETPROBES=y
10CONFIG_FUNCTION_TRACER=y
11CONFIG_FUNCTION_GRAPH_TRACER=y
12CONFIG_IRQSOFF_TRACER=y
13CONFIG_PREEMPT_TRACER=y
14CONFIG_SCHED_TRACER=y
15CONFIG_NOP_TRACER=y
16CONFIG_CONTEXT_SWITCH_TRACER=y
17CONFIG_GENERIC_TRACER=y
18CONFIG_TRACER_MAX_TRACE=y
19CONFIG_TRACER_SNAPSHOT=y
20CONFIG_STACK_TRACER=n
diff --git a/recipes-kernel/linux/files/cfg/00028-perf.cfg b/recipes-kernel/linux/files/cfg/00028-perf.cfg
new file mode 100644
index 0000000..5fddec0
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00028-perf.cfg
@@ -0,0 +1,2 @@
1CONFIG_CGROUP_PERF=y
2CONFIG_PERF_EVENTS=y
diff --git a/recipes-kernel/linux/files/cfg/00029-devtmpfs.cfg b/recipes-kernel/linux/files/cfg/00029-devtmpfs.cfg
new file mode 100644
index 0000000..5e9cf98
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00029-devtmpfs.cfg
@@ -0,0 +1,2 @@
1CONFIG_DEVTMPFS=y
2CONFIG_DEVTMPFS_MOUNT=y
diff --git a/recipes-kernel/linux/files/cfg/00030-latencytop.cfg b/recipes-kernel/linux/files/cfg/00030-latencytop.cfg
new file mode 100644
index 0000000..0a42694
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00030-latencytop.cfg
@@ -0,0 +1 @@
CONFIG_LATENCYTOP=y
diff --git a/recipes-kernel/linux/files/cfg/00031-igb_drv.cfg b/recipes-kernel/linux/files/cfg/00031-igb_drv.cfg
new file mode 100644
index 0000000..3498fd0
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00031-igb_drv.cfg
@@ -0,0 +1,3 @@
1CONFIG_IGB=y
2CONFIG_IGB_DCA=y
3CONFIG_IGBVF=y
diff --git a/recipes-kernel/linux/files/cfg/00032-dpa.cfg b/recipes-kernel/linux/files/cfg/00032-dpa.cfg
new file mode 100644
index 0000000..c873cd5
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00032-dpa.cfg
@@ -0,0 +1 @@
CONFIG_FSL_FM_MAX_FRAME_SIZE=9600
diff --git a/recipes-kernel/linux/files/cfg/00033-kprobes.cfg b/recipes-kernel/linux/files/cfg/00033-kprobes.cfg
new file mode 100644
index 0000000..e24be27
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00033-kprobes.cfg
@@ -0,0 +1 @@
CONFIG_KPROBES=y
diff --git a/recipes-kernel/linux/files/cfg/00034-cpusets.cfg b/recipes-kernel/linux/files/cfg/00034-cpusets.cfg
new file mode 100644
index 0000000..ec8fad4
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00034-cpusets.cfg
@@ -0,0 +1,3 @@
1CONFIG_CGROUPS=y
2CONFIG_CPUSETS=y
3CONFIG_CGROUP_PERF=y
diff --git a/recipes-kernel/linux/files/cfg/00035-netfilter.cfg b/recipes-kernel/linux/files/cfg/00035-netfilter.cfg
new file mode 100644
index 0000000..2dfdba9
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00035-netfilter.cfg
@@ -0,0 +1,113 @@
1CONFIG_NETFILTER=y
2CONFIG_IP_NF_IPTABLES=y
3CONFIG_NETFILTER_XT_TARGET_NFQUEUE=y
4CONFIG_BRIDGE_NF_EBTABLES=y
5CONFIG_IP_VS=y
6CONFIG_IP_NF_FILTER=y
7CONFIG_IP_NF_TARGET_ULOG=y
8CONFIG_IP_NF_IPTABLES=y
9#
10# Not directly sourced via a kernel type but via an external bb
11#
12CONFIG_NETFILTER=y
13CONFIG_NETFILTER_ADVANCED=y
14
15#
16# Core Netfilter Configuration
17#
18CONFIG_NETFILTER_NETLINK=m
19CONFIG_NETFILTER_NETLINK_QUEUE=m
20CONFIG_NETFILTER_NETLINK_LOG=m
21CONFIG_NF_CONNTRACK=m
22CONFIG_NF_CONNTRACK_MARK=y
23CONFIG_NF_CT_PROTO_GRE=m
24CONFIG_NF_CT_PROTO_SCTP=m
25CONFIG_NF_CT_PROTO_UDPLITE=m
26CONFIG_NF_CONNTRACK_AMANDA=m
27CONFIG_NF_CONNTRACK_FTP=m
28CONFIG_NF_CONNTRACK_H323=m
29CONFIG_NF_CONNTRACK_IRC=m
30CONFIG_NF_CONNTRACK_NETBIOS_NS=m
31CONFIG_NF_CONNTRACK_PPTP=m
32CONFIG_NF_CONNTRACK_SANE=m
33CONFIG_NF_CONNTRACK_SIP=m
34CONFIG_NF_CONNTRACK_TFTP=m
35CONFIG_NF_CT_NETLINK=m
36CONFIG_NETFILTER_XTABLES=m
37CONFIG_NETFILTER_XT_TARGET_CLASSIFY=m
38CONFIG_NETFILTER_XT_TARGET_CONNMARK=m
39CONFIG_NETFILTER_XT_TARGET_DSCP=m
40CONFIG_NETFILTER_XT_TARGET_HL=m
41CONFIG_NETFILTER_XT_TARGET_MARK=m
42CONFIG_NETFILTER_XT_TARGET_NFLOG=m
43CONFIG_NETFILTER_XT_TARGET_NFQUEUE=m
44CONFIG_NETFILTER_XT_TARGET_NOTRACK=m
45CONFIG_NETFILTER_XT_TARGET_TRACE=m
46CONFIG_NETFILTER_XT_TARGET_TCPMSS=m
47CONFIG_NETFILTER_XT_MATCH_COMMENT=m
48CONFIG_NETFILTER_XT_MATCH_CONNBYTES=m
49CONFIG_NETFILTER_XT_MATCH_CONNLIMIT=m
50CONFIG_NETFILTER_XT_MATCH_CONNMARK=m
51CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
52CONFIG_NETFILTER_XT_MATCH_DCCP=m
53CONFIG_NETFILTER_XT_MATCH_DSCP=m
54CONFIG_NETFILTER_XT_MATCH_ESP=m
55CONFIG_NETFILTER_XT_MATCH_HASHLIMIT=m
56CONFIG_NETFILTER_XT_MATCH_HELPER=m
57CONFIG_NETFILTER_XT_MATCH_HL=m
58CONFIG_NETFILTER_XT_MATCH_LENGTH=m
59CONFIG_NETFILTER_XT_MATCH_LIMIT=m
60CONFIG_NETFILTER_XT_MATCH_MAC=m
61CONFIG_NETFILTER_XT_MATCH_MARK=m
62CONFIG_NETFILTER_XT_MATCH_MULTIPORT=m
63CONFIG_NETFILTER_XT_MATCH_POLICY=m
64CONFIG_NETFILTER_XT_MATCH_PKTTYPE=m
65CONFIG_NETFILTER_XT_MATCH_QUOTA=m
66CONFIG_NETFILTER_XT_MATCH_REALM=m
67CONFIG_NETFILTER_XT_MATCH_SCTP=m
68CONFIG_NETFILTER_XT_MATCH_STATE=m
69CONFIG_NETFILTER_XT_MATCH_STATISTIC=m
70CONFIG_NETFILTER_XT_MATCH_STRING=m
71CONFIG_NETFILTER_XT_MATCH_TCPMSS=m
72CONFIG_NETFILTER_XT_MATCH_U32=m
73
74#
75# IP: Netfilter Configuration
76#
77CONFIG_NF_DEFRAG_IPV4=m
78CONFIG_NF_CONNTRACK_IPV4=m
79CONFIG_NF_CONNTRACK_PROC_COMPAT=y
80CONFIG_IP_NF_IPTABLES=m
81CONFIG_IP_NF_MATCH_AH=m
82CONFIG_IP_NF_MATCH_ECN=m
83CONFIG_IP_NF_MATCH_TTL=m
84CONFIG_IP_NF_FILTER=m
85CONFIG_IP_NF_TARGET_REJECT=m
86CONFIG_IP_NF_TARGET_ULOG=m
87CONFIG_NF_NAT=m
88CONFIG_NF_NAT_NEEDED=y
89CONFIG_NF_NAT_IPV4=m
90CONFIG_IP_NF_TARGET_MASQUERADE=m
91CONFIG_IP_NF_TARGET_NETMAP=m
92CONFIG_IP_NF_TARGET_REDIRECT=m
93CONFIG_NF_NAT_SNMP_BASIC=m
94CONFIG_NF_NAT_PROTO_GRE=m
95CONFIG_NF_NAT_PROTO_UDPLITE=m
96CONFIG_NF_NAT_PROTO_SCTP=m
97CONFIG_NF_NAT_FTP=m
98CONFIG_NF_NAT_IRC=m
99CONFIG_NF_NAT_TFTP=m
100CONFIG_NF_NAT_AMANDA=m
101CONFIG_NF_NAT_PPTP=m
102CONFIG_NF_NAT_H323=m
103CONFIG_NF_NAT_SIP=m
104CONFIG_IP_NF_MANGLE=m
105CONFIG_IP_NF_TARGET_CLUSTERIP=m
106CONFIG_IP_NF_TARGET_ECN=m
107CONFIG_IP_NF_TARGET_TTL=m
108CONFIG_IP_NF_RAW=m
109CONFIG_IP_NF_ARPTABLES=m
110CONFIG_IP_NF_ARPFILTER=m
111CONFIG_IP_NF_ARP_MANGLE=m
112
113CONFIG_NET_SCHED=y
diff --git a/recipes-kernel/linux/files/cfg/00036-ppc_virt.cfg b/recipes-kernel/linux/files/cfg/00036-ppc_virt.cfg
new file mode 100644
index 0000000..e41d2e9
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00036-ppc_virt.cfg
@@ -0,0 +1,5 @@
1CONFIG_VIRTUALIZATION=y
2CONFIG_KVM_E500MC=y
3CONFIG_BRIDGE=y
4CONFIG_TUN=y
5CONFIG_PCI_STUB=y
diff --git a/recipes-kernel/linux/files/cfg/00037-ppc_lxc.cfg b/recipes-kernel/linux/files/cfg/00037-ppc_lxc.cfg
new file mode 100644
index 0000000..d4e5f8f
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00037-ppc_lxc.cfg
@@ -0,0 +1,30 @@
1CONFIG_MEMCG=y
2CONFIG_MEMCG_KMEM=y
3CONFIG_CGROUP_DEVICE=y
4CONFIG_CPUSETS=y
5CONFIG_PROC_PID_CPUSET=y
6CONFIG_RESOURCE_COUNTERS=y
7CONFIG_CGROUP_MEM_RES_CTLR=y
8CONFIG_CGROUP_SCHED=y
9CONFIG_FAIR_GROUP_SCHED=y
10CONFIG_RT_GROUP_SCHED=y
11CONFIG_CHECKPOINT_RESTORE=y
12CONFIG_NAMESPACES=y
13CONFIG_UTS_NS=y
14CONFIG_IPC_NS=y
15CONFIG_USER_NS=n
16CONFIG_PID_NS=y
17CONFIG_NET_NS=y
18CONFIG_SECCOMP=y
19CONFIG_SECURITY_APPARMOR=y
20CONFIG_CGROUPS=y
21
22CONFIG_CLS_CGROUP=m
23CONFIG_BLK_CGROUP=m
24CONFIG_NETPRIO_CGROUP=m
25
26CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
27CONFIG_VETH=y
28CONFIG_MACVLAN=y
29CONFIG_CGROUP_CPUACCT=y
30
diff --git a/recipes-kernel/linux/files/cfg/00038-hotplug_cpu.cfg b/recipes-kernel/linux/files/cfg/00038-hotplug_cpu.cfg
new file mode 100644
index 0000000..3704a7a
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00038-hotplug_cpu.cfg
@@ -0,0 +1 @@
CONFIG_HOTPLUG_CPU=y
diff --git a/recipes-kernel/linux/files/cfg/00039-nohz.cfg b/recipes-kernel/linux/files/cfg/00039-nohz.cfg
new file mode 100644
index 0000000..4cf684f
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00039-nohz.cfg
@@ -0,0 +1,9 @@
1CONFIG_NO_HZ_COMMON=y
2CONFIG_NO_HZ_FULL=y
3CONFIG_VIRT_CPU_ACCOUNTING=y
4CONFIG_VIRT_CPU_ACCOUNTING_GEN=y
5CONFIG_CONTEXT_TRACKING=y
6CONFIG_RCU_USER_QS=y
7CONFIG_RCU_NOCB_CPU=y
8CONFIG_RCU_NOCB_CPU_ALL=y
9CONFIG_LOCKUP_DETECTOR=n
diff --git a/recipes-kernel/linux/files/cfg/00040-9p.cfg b/recipes-kernel/linux/files/cfg/00040-9p.cfg
new file mode 100644
index 0000000..4b9b161
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00040-9p.cfg
@@ -0,0 +1,5 @@
1CONFIG_NET_9P=y
2CONFIG_NET_9P_VIRTIO=y
3CONFIG_NET_9P_DEBUG=y
4CONFIG_9P_FS=y
5CONFIG_9P_FS_POSIX_ACL=y
diff --git a/recipes-kernel/linux/files/cfg/00041-virtio.cfg b/recipes-kernel/linux/files/cfg/00041-virtio.cfg
new file mode 100644
index 0000000..41f0dcd
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00041-virtio.cfg
@@ -0,0 +1,8 @@
1CONFIG_VIRTIO_PCI=y
2CONFIG_VIRTIO_BALLOON=y
3CONFIG_VIRTIO_BLK=y
4CONFIG_VIRTIO_NET=y
5CONFIG_VIRTIO=y
6CONFIG_VIRTIO_RING=y
7CONFIG_VIRTIO_MMIO=y
8CONFIG_VIRTIO_CONSOLE=y
diff --git a/recipes-kernel/linux/files/cfg/00042-vhost.cfg b/recipes-kernel/linux/files/cfg/00042-vhost.cfg
new file mode 100644
index 0000000..87a6004
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00042-vhost.cfg
@@ -0,0 +1,2 @@
1CONFIG_VHOST_NET=y
2CONFIG_PCI_MSI=y
diff --git a/recipes-kernel/linux/files/cfg/00043-containers.cfg b/recipes-kernel/linux/files/cfg/00043-containers.cfg
new file mode 100644
index 0000000..aac7304
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00043-containers.cfg
@@ -0,0 +1,18 @@
1CONFIG_NAMESPACES=y
2CONFIG_UTS_NS=y
3CONFIG_IPC_NS=y
4CONFIG_USER_NS=y
5CONFIG_PID_NS=y
6CONFIG_NET_NS=y
7CONFIG_CGROUP_FREEZER=y
8CONFIG_CGROUP_DEVICE=y
9CONFIG_CGROUP_CPUACCT=y
10CONFIG_RESOURCE_COUNTERS=y
11CONFIG_CGROUP_SCHED=y
12CONFIG_BLK_CGROUP=y
13CONFIG_CPUSETS=y
14CONFIG_MEMCG=y
15CONFIG_MEMCG_KMEM=y
16CONFIG_VETH=y
17CONFIG_MACVLAN=y
18CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
diff --git a/recipes-kernel/linux/files/cfg/00044-numa.cfg b/recipes-kernel/linux/files/cfg/00044-numa.cfg
new file mode 100644
index 0000000..e480f0c
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00044-numa.cfg
@@ -0,0 +1 @@
CONFIG_NUMA=y
diff --git a/recipes-kernel/linux/files/cfg/00045-pci-stub.cfg b/recipes-kernel/linux/files/cfg/00045-pci-stub.cfg
new file mode 100644
index 0000000..04aec57
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00045-pci-stub.cfg
@@ -0,0 +1 @@
CONFIG_PCI_STUB=m
diff --git a/recipes-kernel/linux/files/cfg/00046-sata.cfg b/recipes-kernel/linux/files/cfg/00046-sata.cfg
new file mode 100644
index 0000000..0a30897
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00046-sata.cfg
@@ -0,0 +1,5 @@
1#enable SATA support
2CONFIG_ATA=y
3CONFIG_SATA_AHCI=y
4CONFIG_SATA_AHCI_PLATFORM=y
5CONFIG_SATA_PMP=y
diff --git a/recipes-kernel/linux/files/cfg/00047-bridge.cfg b/recipes-kernel/linux/files/cfg/00047-bridge.cfg
new file mode 100644
index 0000000..873cbf3
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00047-bridge.cfg
@@ -0,0 +1 @@
CONFIG_BRIDGE=y
diff --git a/recipes-kernel/linux/files/cfg/00048-containers_no_user_ns.cfg b/recipes-kernel/linux/files/cfg/00048-containers_no_user_ns.cfg
new file mode 100644
index 0000000..7b0b6f6
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00048-containers_no_user_ns.cfg
@@ -0,0 +1,18 @@
1CONFIG_NAMESPACES=y
2CONFIG_UTS_NS=y
3CONFIG_IPC_NS=y
4CONFIG_USER_NS=n
5CONFIG_PID_NS=y
6CONFIG_NET_NS=y
7CONFIG_CGROUP_FREEZER=y
8CONFIG_CGROUP_DEVICE=y
9CONFIG_CGROUP_CPUACCT=y
10CONFIG_RESOURCE_COUNTERS=y
11CONFIG_CGROUP_SCHED=y
12CONFIG_BLK_CGROUP=y
13CONFIG_CPUSETS=y
14CONFIG_MEMCG=y
15CONFIG_MEMCG_KMEM=y
16CONFIG_VETH=y
17CONFIG_MACVLAN=y
18CONFIG_DEVPTS_MULTIPLE_INSTANCES=y
diff --git a/recipes-kernel/linux/files/cfg/00049-gpio.cfg b/recipes-kernel/linux/files/cfg/00049-gpio.cfg
new file mode 100644
index 0000000..9ea98eb
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00049-gpio.cfg
@@ -0,0 +1,2 @@
1CONFIG_GPIO_SYSFS=y
2CONFIG_GPIO_GENERIC=y
diff --git a/recipes-kernel/linux/files/cfg/00050-nfsdv4.cfg b/recipes-kernel/linux/files/cfg/00050-nfsdv4.cfg
new file mode 100644
index 0000000..fb0d0b2
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00050-nfsdv4.cfg
@@ -0,0 +1,7 @@
1CONFIG_NFSD_V4=y
2CONFIG_NFSD=y
3CONFIG_INET=y
4CONFIG_NET=y
5CONFIG_NETWORK_FILESYSTEMS =y
6CONFIG_FILE_LOCKING=y
7CONFIG_PROC_FS=y
diff --git a/recipes-kernel/linux/files/cfg/00051-sctp.cfg b/recipes-kernel/linux/files/cfg/00051-sctp.cfg
new file mode 100644
index 0000000..6182ef2
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/00051-sctp.cfg
@@ -0,0 +1,4 @@
1CONFIG_NET=y
2CONFIG_INET=y
3CONFIG_IPV6=y
4CONFIG_IP_SCTP=y
diff --git a/recipes-kernel/linux/files/cfg/README b/recipes-kernel/linux/files/cfg/README
new file mode 100644
index 0000000..abfff1e
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/README
@@ -0,0 +1,9 @@
1In ordert to add a configuration fragment contained in a .cfg file,
2please follow these steps:
3
41. change to the directory that contains this README file.
52. copy your fragment file here and make sure your file has a .cfg extension
64. run the indexcfgs.pl utility from this directory to
7 index your file.
85. check for the new name and use it to further reference your renamed
9 cfg file.
diff --git a/recipes-kernel/linux/files/cfg/indexcfgs.pl b/recipes-kernel/linux/files/cfg/indexcfgs.pl
new file mode 100755
index 0000000..96cd78a
--- /dev/null
+++ b/recipes-kernel/linux/files/cfg/indexcfgs.pl
@@ -0,0 +1,167 @@
1#!/usr/bin/perl -w
2#----------------------------------------------------------------------
3# indexcfgs.pl - utility to rename files in the current directory to an
4# indexed format so that a unique index number is
5# prepended to the current file name. The naming
6# template is:
7#
8# DDDDD-<name-or-short-description.cfg>
9#
10# Usage: create the *.cfg file you need, with any name and .cfg
11# extension. Run this script and it will automatically
12# rename your file to the indexed format above.
13#
14# Author: Daniel BORNAZ <daniel.bornaz@enea.com
15# Date: 2014/04/09
16# Version: 1.0
17#
18#----------------------------------------------------------------------
19
20use strict;
21use warnings;
22use Getopt::Long;
23
24my %args;
25my $counter_indexed=0;
26my $filetype="*.cfg";
27my $counter_queue=0;
28my $max_index=0;
29my $dir="./";
30my @files;
31my @queue;
32my $opt_strip;
33my $opt_help;
34
35
36#--------------------------------------------------------------------
37# strip the index from the file name
38#
39sub removeindex($){
40 my $tmpname=shift;
41 my $newname;
42
43 if($tmpname=~/^\d{5}\-.*cfg/ig){
44 $newname=substr($tmpname,6);
45 system("mv",$tmpname,$newname) == 0
46 or die "Cannot rename $tmpname to $newname: $?";
47 }else{
48 return 0;
49 }
50}
51
52#--------------------------------------------------------------------
53# get the indexed file name, return the index
54#
55sub decodeindex($){
56 my $tmpname=shift;
57
58 if($tmpname=~/^\d{5}\-.*cfg/ig){
59 return substr($tmpname,0,5);
60 }else{
61 return 0;
62 }
63}
64
65#--------------------------------------------------------------------
66# remove index from cfg files in current directory
67#
68sub strip_file_names {
69 print "Start removing index from $filetype files in $dir\n";
70
71 opendir(DIR,$dir) or die $!;
72
73 while( my $file=readdir(DIR)){
74 # retrieve cfg files (*.cfg)
75 if($file=~/cfg$/gi){
76 removeindex($file);
77 }
78 }
79
80 closedir(DIR);
81}
82
83#--------------------------------------------------------------------
84# index current directory cfg files
85#
86sub index_file_names {
87 print "Start indexing $filetype files in $dir\n";
88
89 opendir(DIR,$dir) or die $!;
90
91 while( my $file=readdir(DIR)){
92 # retrieve cfg files (*.cfg)
93 if($file=~/cfg$/gi){
94 @files=(@files,$file);
95 }
96 }
97
98 closedir(DIR);
99
100
101# separate indexed file names from the ones to be processed
102 foreach my $file (@files){
103 if($file=~/^\d{5}\-.*cfg/){
104 my $crt_index=0;
105
106 $crt_index=decodeindex($file);
107
108 if($crt_index > $max_index){
109 $max_index=$crt_index;
110 }
111
112 $counter_indexed++;
113 }else{
114 @queue=($file,@queue);
115 $counter_queue++;
116 }
117 }
118
119# set the next index number
120 $max_index++;
121
122# index the enqueued file names
123 foreach my $file (@queue){
124 my $newname;
125
126 $newname=sprintf("%05d-%s",$max_index++,$file);
127 system("mv",$file,$newname) == 0
128 or die "Cannot rename $file to $newname: $?";
129 }
130
131 printf("$counter_queue files indexed, ".
132 "$counter_indexed files already indexed. Done.\n");
133}
134
135#--------------------------------------------------------------------
136# display usage help
137#
138sub print_usage {
139 print "\n";
140 print " ./indexcfgs.pl [--strip]\n";
141 print " no params: Index the *.cfg file names in current dir\n";
142 print " to DDDDD-<original_file_name.cfg>\n";
143 print " --strip: Strips the index from the *.cfg file names ".
144 "in current dir\n";
145 print "\n";
146
147 exit 0;
148}
149
150
151#--- Program starts here --------------------------------------------
152GetOptions(\%args,
153 "strip" => \$opt_strip,
154 "help" => \$opt_help,
155);
156
157if(defined($opt_help)){
158 print_usage();
159}
160
161if(defined($opt_strip)){
162 strip_file_names();
163}else{
164 index_file_names();
165}
166
167