add preliminary 3.14 support

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39789
This commit is contained in:
Imre Kaloz
2014-03-07 11:27:00 +00:00
parent 96fa58bafd
commit 074af75668
168 changed files with 32657 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--- a/Makefile
+++ b/Makefile
@@ -580,9 +580,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