aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/pending-4.9/201-extra_optimization.patch
diff options
context:
space:
mode:
authorKoen Vandeputte <koen.vandeputte@ncentric.com>2019-04-29 12:05:49 +0200
committerKoen Vandeputte <koen.vandeputte@ncentric.com>2019-05-02 12:59:26 +0200
commit456f486b53a7cbe7035dca7323f6b5fdb58be444 (patch)
tree9f3657c6775ac8f0502c856ce5e90e780ecc124d /target/linux/generic/pending-4.9/201-extra_optimization.patch
parenta9190ee3a41e49e085ab7ad520b757313c2bdf31 (diff)
downloadupstream-456f486b53a7cbe7035dca7323f6b5fdb58be444.tar.gz
upstream-456f486b53a7cbe7035dca7323f6b5fdb58be444.tar.bz2
upstream-456f486b53a7cbe7035dca7323f6b5fdb58be444.zip
kernel: bump 4.9 to 4.9.171
Refreshed all patches. Altered patches: - 150-bridge_allow_receiption_on_disabled_port.patch - 201-extra_optimization.patch Compile-tested on: ar7 Runtime-tested on: none Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Diffstat (limited to 'target/linux/generic/pending-4.9/201-extra_optimization.patch')
-rw-r--r--target/linux/generic/pending-4.9/201-extra_optimization.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/generic/pending-4.9/201-extra_optimization.patch b/target/linux/generic/pending-4.9/201-extra_optimization.patch
index 7b6397919e..3d0fc822bb 100644
--- a/target/linux/generic/pending-4.9/201-extra_optimization.patch
+++ b/target/linux/generic/pending-4.9/201-extra_optimization.patch
@@ -14,12 +14,12 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
--- a/Makefile
+++ b/Makefile
-@@ -656,12 +656,12 @@ endif
+@@ -655,12 +655,12 @@ KBUILD_CFLAGS += $(call cc-option,-fdata
+ endif
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
- KBUILD_CFLAGS += $(call cc-option,-Oz,-Os)
--KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,)
-+KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,) $(EXTRA_OPTIMIZATION)
+-KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
++KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,) $(EXTRA_OPTIMIZATION)
else
ifdef CONFIG_PROFILE_ALL_BRANCHES
-KBUILD_CFLAGS += -O2 $(call cc-disable-warning,maybe-uninitialized,)