summaryrefslogtreecommitdiff
path: root/target/linux/generic/patches-3.12/201-extra_optimization.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-07-10 22:37:28 +0000
committerLuka Perkov <luka@openwrt.org>2014-07-10 22:37:28 +0000
commit2bc22025dd6579f00b470fef61a63d35f182792f (patch)
treec78130d9f7ed219ba3e5a4ccc05facd87f6f3fb2 /target/linux/generic/patches-3.12/201-extra_optimization.patch
parent68e86140090a52b56920b59646516c347b710c74 (diff)
downloadmtk-20170518-2bc22025dd6579f00b470fef61a63d35f182792f.zip
mtk-20170518-2bc22025dd6579f00b470fef61a63d35f182792f.tar.gz
mtk-20170518-2bc22025dd6579f00b470fef61a63d35f182792f.tar.bz2
kernel: remove 3.12 support since none of the targets is using it
Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 41581
Diffstat (limited to 'target/linux/generic/patches-3.12/201-extra_optimization.patch')
-rw-r--r--target/linux/generic/patches-3.12/201-extra_optimization.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/target/linux/generic/patches-3.12/201-extra_optimization.patch b/target/linux/generic/patches-3.12/201-extra_optimization.patch
deleted file mode 100644
index ccb7fcf..0000000
--- a/target/linux/generic/patches-3.12/201-extra_optimization.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/Makefile
-+++ b/Makefile
-@@ -571,9 +571,9 @@ endif # $(dot-config)
- all: vmlinux
-
- ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
--KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
-+KBUILD_CFLAGS += -Os $(EXTRA_OPTIMIZATION) $(call cc-disable-warning,maybe-uninitialized,)
- else
--KBUILD_CFLAGS += -O2
-+KBUILD_CFLAGS += -O2 -fno-reorder-blocks -fno-tree-ch $(EXTRA_OPTIMIZATION)
- endif
-
- include $(srctree)/arch/$(SRCARCH)/Makefile