add initial 3.13 support

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

SVN-Revision: 39348
This commit is contained in:
Imre Kaloz
2014-01-20 13:56:24 +00:00
parent c67ec51c85
commit 6bd1a37001
169 changed files with 32779 additions and 0 deletions

View File

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