[package] base-files: add "mtu" option for route sections, allows setting per-route...
[openwrt.git] / target / linux / generic / patches-2.6.35 / 991-ppc4xx_optimization.patch
1 Upstream doesn't optimize the kernel and bootwrappers for ppc44x because
2 they still want to support gcc 3.3 -- well, we don't.
3
4 --- a/arch/powerpc/Makefile
5 +++ b/arch/powerpc/Makefile
6 @@ -123,7 +123,8 @@ ifeq ($(CONFIG_FUNCTION_TRACER),y)
7 KBUILD_CFLAGS += -mno-sched-epilog
8 endif
9
10 -cpu-as-$(CONFIG_4xx) += -Wa,-m405
11 +cpu-as-$(CONFIG_40x) += -Wa,-m405
12 +cpu-as-$(CONFIG_44x) += -Wa,-m440
13 cpu-as-$(CONFIG_6xx) += -Wa,-maltivec
14 cpu-as-$(CONFIG_POWER4) += -Wa,-maltivec
15 cpu-as-$(CONFIG_E500) += -Wa,-me500
16 --- a/arch/powerpc/boot/Makefile
17 +++ b/arch/powerpc/boot/Makefile
18 @@ -38,10 +38,10 @@ BOOTCFLAGS += -I$(obj) -I$(srctree)/$(ob
19 DTS_FLAGS ?= -p 1024
20
21 $(obj)/4xx.o: BOOTCFLAGS += -mcpu=405
22 -$(obj)/ebony.o: BOOTCFLAGS += -mcpu=405
23 +$(obj)/ebony.o: BOOTCFLAGS += -mcpu=440
24 $(obj)/cuboot-hotfoot.o: BOOTCFLAGS += -mcpu=405
25 -$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405
26 -$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405
27 +$(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=440
28 +$(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=440
29 $(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405
30 $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405
31 $(obj)/virtex405-head.o: BOOTAFLAGS += -mcpu=405
This page took 0.043869 seconds and 5 git commands to generate.