summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2021-09-23 20:47:16 +0200
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2021-09-23 20:47:16 +0200
commit29da6bb773bd50aae741aba7e5f527eaa5e1d0b2 (patch)
treed134c8d48fd1fbb135da7af6bca8a65d08e55bfe
parentd9cb85d07a2741b33429a272b1d8338a826d4101 (diff)
downloadlinux-debian-29da6bb773bd50aae741aba7e5f527eaa5e1d0b2.tar.gz
[sh4] Set CONFIG_CC_OPTIMIZE_FOR_SIZE=y to reduce image size
-rw-r--r--debian/changelog1
-rw-r--r--debian/config/sh4/config7
2 files changed, 8 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 9d3b69188..832971d37 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ linux (5.14.6-3) UNRELEASED; urgency=medium
* [ia64] Set CONFIG_CRYPTO_ZSTD=y to force CONFIG_ZSTD_COMPRESS=y
* [ia64] Drop udebs for legacy IDE support, removed upstream
* [m68k] Drop udebs for legacy IDE support, removed upstream
+ * [sh4] Set CONFIG_CC_OPTIMIZE_FOR_SIZE=y to reduce image size
[ Salvatore Bonaccorso ]
* ethtool: Fix rxnfc copy to user buffer overflow
diff --git a/debian/config/sh4/config b/debian/config/sh4/config
index 650fc96fa..a4d6d7a70 100644
--- a/debian/config/sh4/config
+++ b/debian/config/sh4/config
@@ -47,6 +47,13 @@ CONFIG_SH_CPU_FREQ=y
# CONFIG_PCIEPORTBUS is not set
##
+## file: init/Kconfig
+##
+## choice: Compiler optimization level
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
+## end choice
+
+##
## file: kernel/Kconfig.hz
##
## choice: Timer frequency