Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Caio99BR/f9fce5669806b3c5d12fb8841614f340 to your computer and use it in GitHub Desktop.
Save Caio99BR/f9fce5669806b3c5d12fb8841614f340 to your computer and use it in GitHub Desktop.
From 80df6aa1deda7cef40488ef2c9d438aaba4c770c Mon Sep 17 00:00:00 2001
From: Caio Oliveira <[email protected]>
Date: Thu, 5 May 2016 20:02:27 -0300
Subject: [PATCH] configs: L5/L7: Change to LZMA to reduce around ~2MB zImage
Signed-off-by: Caio Oliveira <[email protected]>
---
arch/arm/configs/cyanogenmod_m4_defconfig | 4 ++--
arch/arm/configs/cyanogenmod_m4_nonfc_defconfig | 4 ++--
arch/arm/configs/cyanogenmod_u0_8m_defconfig | 4 ++--
arch/arm/configs/cyanogenmod_u0_defconfig | 4 ++--
arch/arm/configs/cyanogenmod_u0_nonfc_defconfig | 4 ++--
5 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/arch/arm/configs/cyanogenmod_m4_defconfig b/arch/arm/configs/cyanogenmod_m4_defconfig
index 88a76a6..53791ec 100644
--- a/arch/arm/configs/cyanogenmod_m4_defconfig
+++ b/arch/arm/configs/cyanogenmod_m4_defconfig
@@ -46,8 +46,8 @@ CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
-CONFIG_KERNEL_GZIP=y
-# CONFIG_KERNEL_LZMA is not set
+# CONFIG_KERNEL_GZIP is not set
+CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
diff --git a/arch/arm/configs/cyanogenmod_m4_nonfc_defconfig b/arch/arm/configs/cyanogenmod_m4_nonfc_defconfig
index e4d4b2c..699c1e7 100644
--- a/arch/arm/configs/cyanogenmod_m4_nonfc_defconfig
+++ b/arch/arm/configs/cyanogenmod_m4_nonfc_defconfig
@@ -46,8 +46,8 @@ CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
-CONFIG_KERNEL_GZIP=y
-# CONFIG_KERNEL_LZMA is not set
+# CONFIG_KERNEL_GZIP is not set
+CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
diff --git a/arch/arm/configs/cyanogenmod_u0_8m_defconfig b/arch/arm/configs/cyanogenmod_u0_8m_defconfig
index 9841c05..590062a 100644
--- a/arch/arm/configs/cyanogenmod_u0_8m_defconfig
+++ b/arch/arm/configs/cyanogenmod_u0_8m_defconfig
@@ -46,8 +46,8 @@ CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
-CONFIG_KERNEL_GZIP=y
-# CONFIG_KERNEL_LZMA is not set
+# CONFIG_KERNEL_GZIP is not set
+CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
diff --git a/arch/arm/configs/cyanogenmod_u0_defconfig b/arch/arm/configs/cyanogenmod_u0_defconfig
index e40c5fe..00c789a 100644
--- a/arch/arm/configs/cyanogenmod_u0_defconfig
+++ b/arch/arm/configs/cyanogenmod_u0_defconfig
@@ -46,8 +46,8 @@ CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
-CONFIG_KERNEL_GZIP=y
-# CONFIG_KERNEL_LZMA is not set
+# CONFIG_KERNEL_GZIP is not set
+CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
diff --git a/arch/arm/configs/cyanogenmod_u0_nonfc_defconfig b/arch/arm/configs/cyanogenmod_u0_nonfc_defconfig
index 9e74aca..59edfe4 100644
--- a/arch/arm/configs/cyanogenmod_u0_nonfc_defconfig
+++ b/arch/arm/configs/cyanogenmod_u0_nonfc_defconfig
@@ -46,8 +46,8 @@ CONFIG_HAVE_KERNEL_GZIP=y
CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y
-CONFIG_KERNEL_GZIP=y
-# CONFIG_KERNEL_LZMA is not set
+# CONFIG_KERNEL_GZIP is not set
+CONFIG_KERNEL_LZMA=y
# CONFIG_KERNEL_XZ is not set
# CONFIG_KERNEL_LZO is not set
CONFIG_DEFAULT_HOSTNAME="(none)"
--
1.9.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment