preliminary 3.12 support

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

SVN-Revision: 38528
This commit is contained in:
Imre Kaloz
2013-10-24 13:50:11 +00:00
parent 4341ea4037
commit e72c7e17a4
175 changed files with 33916 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
--- 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