This Patch corrects the CC flags for Coldfire M5272 targets.
It applies to Vanilla kernels 2.6.30 and later. I'm not sure about 2.6.29.
I guess it should go into the mainstream git sources but I'm not sure how to
do that.

diff -u -r packages/linux-2.6.32.2/arch/m68knommu/Makefile
linux-2.6.32.2-engarts/arch/m68knommu/Makefile
--- packages/linux-2.6.32.2/arch/m68knommu/Makefile     2009-12-18
22:27:07.000000000 +0000
+++ linux-2.6.32.2-engarts/arch/m68knommu/Makefile      2010-01-07
14:43:55.000000000 +0000
@@ -94,7 +95,7 @@
 cflags-$(CONFIG_M523x)         := $(call cc-option,-mcpu=523x,-m5307)
 cflags-$(CONFIG_M5249)         := $(call cc-option,-mcpu=5249,-m5200)
 cflags-$(CONFIG_M5271)         := $(call cc-option,-mcpu=5271,-m5307)
-cflags-$(CONFIG_M5272)         := $(call cc-option,-mcpu=5271,-m5200)
+cflags-$(CONFIG_M5272)         := $(call cc-option,-mcpu=5272,-m5307)
 cflags-$(CONFIG_M5275)         := $(call cc-option,-mcpu=5275,-m5307)
 cflags-$(CONFIG_M528x)         := $(call cc-option,-m528x,-m5307)
 cflags-$(CONFIG_M5307)         := $(call cc-option,-m5307,-m5200)



Philip Nye


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to