diff options
author | William A. Kennington III <wak@google.com> | 2021-03-27 22:29:34 +0300 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2021-03-29 02:18:49 +0300 |
commit | c2b7d755e35a25b76439ae42ae05d311dcd0efc6 (patch) | |
tree | 2c578a9ea47eee299baa7cff7594eb22842eff5c /meta-google/recipes-kernel | |
parent | 25945a518a1565e5399356847a89aa753891fe3d (diff) | |
download | openbmc-c2b7d755e35a25b76439ae42ae05d311dcd0efc6.tar.xz |
meta-google: linux: Prune some unused kernel features
This saves us ~400KB compressed in our current linux kernel images.
Change-Id: I9810ef4933abfdccc7f45459a1a5e5f230087f07
Signed-off-by: William A. Kennington III <wak@google.com>
Diffstat (limited to 'meta-google/recipes-kernel')
-rw-r--r-- | meta-google/recipes-kernel/linux/files/gbmc.cfg | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-google/recipes-kernel/linux/files/gbmc.cfg b/meta-google/recipes-kernel/linux/files/gbmc.cfg index 4385cc9eb..91939ba2b 100644 --- a/meta-google/recipes-kernel/linux/files/gbmc.cfg +++ b/meta-google/recipes-kernel/linux/files/gbmc.cfg @@ -36,3 +36,15 @@ CONFIG_DUMMY=y CONFIG_BRIDGE_NETFILTER=y CONFIG_NF_TABLES_BRIDGE=y CONFIG_BRIDGE_NF_EBTABLES=y + +# Remove features we won't use +CONFIG_WLAN=n +CONFIG_SUSPEND=n +CONFIG_USB_CHIPIDEA=n +CONFIG_NETWORK_FILESYSTEMS=n +CONFIG_RD_GZIP=n +CONFIG_RD_BZIP2=n +CONFIG_RD_LZMA=n +CONFIG_RD_LZO=n +CONFIG_RD_LZ4=n +CONFIG_CRYPTO_LZO=n |