From d0704122dd83e5b4258184a0e92dc57934477c71 Mon Sep 17 00:00:00 2001 From: Roger Shimizu Date: Tue, 22 Aug 2017 01:01:21 +0900 Subject: [PATCH] [armel] Disable CONFIG_STRICT_KERNEL_RWX This will save about 3MB on linux Image (before compression). u-boot loader on some armel devices has limitation that: - kernel image size <= 2MB (already described in debian/config/armel/defines) - kernel size after decompression <= 7MB --- debian/changelog | 4 ++++ debian/config/armel/config.marvell | 1 + 2 files changed, 5 insertions(+) diff --git a/debian/changelog b/debian/changelog index f7e77e57b..1217469b8 100644 --- a/debian/changelog +++ b/debian/changelog @@ -5,6 +5,10 @@ linux (4.13~rc6-1~exp1) UNRELEASED; urgency=medium [ Ben Hutchings ] * [sh4] Do not use hyphen in exported variable names (fixes FTBFS) + [ Roger Shimizu ] + * [armel] Disable CONFIG_STRICT_KERNEL_RWX, which will save about 3MB + on linux Image (before compression). + -- Ben Hutchings Sat, 19 Aug 2017 22:37:38 +0100 linux (4.13~rc5-1~exp1) experimental; urgency=medium diff --git a/debian/config/armel/config.marvell b/debian/config/armel/config.marvell index 0c3059760..24d54814b 100644 --- a/debian/config/armel/config.marvell +++ b/debian/config/armel/config.marvell @@ -6,6 +6,7 @@ CONFIG_CC_STACKPROTECTOR_REGULAR=y # CONFIG_CC_STACKPROTECTOR_STRONG is not set ## end choice +# CONFIG_STRICT_KERNEL_RWX is not set ## ## file: arch/arm/Kconfig