Skip to contentSkip to conversation

linux-yocto*: zaurus: slim down kernel size

PATCH New Andrea Adami 1 participant 1 message Dec 20, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-yocto*: zaurus: slim down kernel size

Adding a separate fragment with MD, ethernet and debug options removed which can be easily reenabled. Size is now around 2,3-2,5 megabytes.

---
 .../linux/linux-yocto-3.10/shrink_kernel.cfg       | 28 ++++++++++++++++++++++
 .../linux/linux-yocto-3.10/zaurus-common.scc       |  2 ++
 .../linux/linux-yocto-dev/shrink_kernel.cfg        | 28 ++++++++++++++++++++++
 .../linux/linux-yocto-dev/zaurus-common.scc        |  2 ++
 4 files changed, 60 insertions(+)
 create mode 100644 recipes-kernel/linux/linux-yocto-3.10/shrink_kernel.cfg
 create mode 100644 recipes-kernel/linux/linux-yocto-dev/shrink_kernel.cfg
recipes-kernel/linux/linux-yocto-3.10/shrink_kernel.cfg new file +28 -0
new file mode 100644
index 0000000..e784c03
@@ -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
recipes-kernel/linux/linux-yocto-3.10/zaurus-common.scc +2 -0
index 6946ae0..b2354f8 100644
@@ -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
recipes-kernel/linux/linux-yocto-dev/shrink_kernel.cfg new file +28 -0
new file mode 100644
index 0000000..e784c03
@@ -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
recipes-kernel/linux/linux-yocto-dev/zaurus-common.scc +2 -0
index 6946ae0..b2354f8 100644
@@ -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
Signature · 1 line
1.8.1.5