2018-11-01 16:57:55 +00:00
|
|
|
From: Felix Fietkau <nbd@nbd.name>
|
|
|
|
Subject: Upgrade to Linux 2.6.19
|
|
|
|
|
|
|
|
- Includes large parts of the patch from #1021 by dpalffy
|
|
|
|
- Includes RB532 NAND driver changes by n0-1
|
|
|
|
|
|
|
|
[john@phrozen.org: feix will add this to his upstream queue]
|
|
|
|
|
|
|
|
lede-commit: bff468813f78f81e36ebb2a3f4354de7365e640f
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
|
|
---
|
|
|
|
Makefile | 6 +++---
|
|
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
|
|
|
|
--- a/Makefile
|
|
|
|
+++ b/Makefile
|
2020-07-03 23:34:26 +00:00
|
|
|
@@ -653,9 +653,9 @@ KBUILD_CFLAGS += $(call cc-disable-warni
|
2019-06-25 10:56:13 +00:00
|
|
|
KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
|
2018-11-01 16:57:55 +00:00
|
|
|
|
|
|
|
ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
|
2020-07-03 23:34:26 +00:00
|
|
|
-KBUILD_CFLAGS += -Os
|
|
|
|
+KBUILD_CFLAGS += -Os $(EXTRA_OPTIMIZATION)
|
2018-11-01 16:57:55 +00:00
|
|
|
else
|
|
|
|
-KBUILD_CFLAGS += -O2
|
|
|
|
+KBUILD_CFLAGS += -O2 -fno-reorder-blocks -fno-tree-ch $(EXTRA_OPTIMIZATION)
|
|
|
|
endif
|
|
|
|
|
2020-07-03 23:34:26 +00:00
|
|
|
# Tell gcc to never replace conditional load with a non-conditional one
|