From 68e022e33ce631b0868d516d651a2e3f2135ac39 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 ce66ccbcf..2ede9ac7b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -23,6 +23,10 @@ linux (4.12.7-1) UNRELEASED; urgency=medium * cpupower: Add/update definition of MSRHEADER macro for turbostat and x86_energy_perf_policy (Closes: #872414) + [ Roger Shimizu ] + * [armel] Disable CONFIG_STRICT_KERNEL_RWX, which will save about 3MB + on linux Image (before compression). + -- Ben Hutchings Mon, 14 Aug 2017 19:47:30 +0100 linux (4.12.6-1) unstable; 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