aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-12-20 01:04:13 +0100
committerAndrea Adami <andrea.adami@gmail.com>2013-12-31 18:37:54 +0100
commitb3a19b00c9caebd02f41aaa28e3a764e8c56c510 (patch)
treeeb69653139589229f1bed271996ac41263583dff
parentdebdd39695a7f476d3be75a2e51535db4f94f7df (diff)
downloadmeta-handheld-b3a19b00c9caebd02f41aaa28e3a764e8c56c510.tar.gz
linux-yocto*: zaurus: beat kernel size down to 2,5 MB
Adding a separate fragment with MD, ethernet and debug options which can be easily reenabled. Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
-rw-r--r--recipes-kernel/linux/linux-yocto-3.10/shrink_kernel.cfg28
-rw-r--r--recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc2
-rw-r--r--recipes-kernel/linux/linux-yocto-dev/shrink_kernel.cfg28
-rw-r--r--recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc2
4 files changed, 60 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-yocto-3.10/shrink_kernel.cfg b/recipes-kernel/linux/linux-yocto-3.10/shrink_kernel.cfg
new file mode 100644
index 0000000..e784c03
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto-3.10/shrink_kernel.cfg
@@ -0,0 +1,28 @@
+# CONFIG_MD is not set
+
+# CONFIG_NET_VENDOR_3COM is not set
+# CONFIG_NET_VENDOR_AMD is not set
+# CONFIG_NET_CADENCE is not set
+# CONFIG_NET_VENDOR_BROADCOM is not set
+# CONFIG_NET_VENDOR_CIRRUS is not set
+# CONFIG_NET_VENDOR_FARADAY is not set
+# CONFIG_NET_VENDOR_FUJITSU is not set
+# CONFIG_NET_VENDOR_HP is not set
+# CONFIG_NET_VENDOR_INTEL is not set
+# CONFIG_NET_VENDOR_MARVELL is not set
+# CONFIG_NET_VENDOR_MICREL is not set
+# CONFIG_NET_VENDOR_MICROCHIP is not set
+# CONFIG_NET_VENDOR_SEEQ is not set
+# CONFIG_NET_VENDOR_SMSC is not set
+# CONFIG_NET_VENDOR_STMICRO is not set
+# CONFIG_NET_VENDOR_WIZNET is not set
+# CONFIG_NET_VENDOR_XIRCOM is not set
+
+# CONFIG_FTRACE is not set
+# CONFIG_BRANCH_PROFILE_NONE is not set
+# CONFIG_BINARY_PRINTF is not set
+
+# CONFIG_KPROBES is not set
+# CONFIG_DEBUG_BUGVERBOSE is not set
+# CONFIG_DEBUG_INFO is not set
+# CONFIG_KGDB is not set
diff --git a/recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc b/recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc
index 6946ae0..b2354f8 100644
--- a/recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc
+++ b/recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc
@@ -10,3 +10,5 @@ include features/vfat/vfat.scc
include features/scsi/disk.scc
include features/hostapd/hostapd.scc
include features/mac80211/mac80211.scc
+
+kconf hardware shrink_kernel.cfg
diff --git a/recipes-kernel/linux/linux-yocto-dev/shrink_kernel.cfg b/recipes-kernel/linux/linux-yocto-dev/shrink_kernel.cfg
new file mode 100644
index 0000000..e784c03
--- /dev/null
+++ b/recipes-kernel/linux/linux-yocto-dev/shrink_kernel.cfg
@@ -0,0 +1,28 @@
+# CONFIG_MD is not set
+
+# CONFIG_NET_VENDOR_3COM is not set
+# CONFIG_NET_VENDOR_AMD is not set
+# CONFIG_NET_CADENCE is not set
+# CONFIG_NET_VENDOR_BROADCOM is not set
+# CONFIG_NET_VENDOR_CIRRUS is not set
+# CONFIG_NET_VENDOR_FARADAY is not set
+# CONFIG_NET_VENDOR_FUJITSU is not set
+# CONFIG_NET_VENDOR_HP is not set
+# CONFIG_NET_VENDOR_INTEL is not set
+# CONFIG_NET_VENDOR_MARVELL is not set
+# CONFIG_NET_VENDOR_MICREL is not set
+# CONFIG_NET_VENDOR_MICROCHIP is not set
+# CONFIG_NET_VENDOR_SEEQ is not set
+# CONFIG_NET_VENDOR_SMSC is not set
+# CONFIG_NET_VENDOR_STMICRO is not set
+# CONFIG_NET_VENDOR_WIZNET is not set
+# CONFIG_NET_VENDOR_XIRCOM is not set
+
+# CONFIG_FTRACE is not set
+# CONFIG_BRANCH_PROFILE_NONE is not set
+# CONFIG_BINARY_PRINTF is not set
+
+# CONFIG_KPROBES is not set
+# CONFIG_DEBUG_BUGVERBOSE is not set
+# CONFIG_DEBUG_INFO is not set
+# CONFIG_KGDB is not set
diff --git a/recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc b/recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc
index 6946ae0..b2354f8 100644
--- a/recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc
+++ b/recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc
@@ -10,3 +10,5 @@ include features/vfat/vfat.scc
include features/scsi/disk.scc
include features/hostapd/hostapd.scc
include features/mac80211/mac80211.scc
+
+kconf hardware shrink_kernel.cfg