aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Shimizu <rogershimizu@gmail.com>2017-08-22 01:01:21 +0900
committerRoger Shimizu <rogershimizu@gmail.com>2017-08-22 01:01:21 +0900
commitd0704122dd83e5b4258184a0e92dc57934477c71 (patch)
tree5dc2e2194c8f612d74c1f0f912d03c4c46dad7a5
parenta129c1c2073413e47548cfff6f9a9848e25b0706 (diff)
downloadkernel_replicant_linux-d0704122dd83e5b4258184a0e92dc57934477c71.tar.gz
kernel_replicant_linux-d0704122dd83e5b4258184a0e92dc57934477c71.tar.bz2
kernel_replicant_linux-d0704122dd83e5b4258184a0e92dc57934477c71.zip
[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
-rw-r--r--debian/changelog4
-rw-r--r--debian/config/armel/config.marvell1
2 files changed, 5 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index f7e77e57becb..1217469b8408 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 <ben@decadent.org.uk> 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 0c30597601c5..24d54814b0df 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