Patchwork powerpc/40x: Add proper BOOTCFLAGS for cuboot-acadia

login
register
mail settings
Submitter Josh Boyer
Date Nov. 25, 2008, 4:33 p.m.
Message ID <20081125163335.GA17258@yoda.jdub.homelinux.org>
Download mbox | patch
Permalink /patch/10663/
State Accepted
Commit 9f3eefc4f9b02404e89d624a6cd40e7b468b5fd5
Delegated to: Josh Boyer
Headers show

Comments

Josh Boyer - Nov. 25, 2008, 4:33 p.m.
The cuboot-acadia.c wrapper can cause assembler errors on some
toolchains due to the lack of the proper BOOTCFLAGS.  This adds
the proper flags for the file.

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>

---

Patch

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 8fc6d72..3d3daa6 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -41,6 +41,7 @@  $(obj)/4xx.o: BOOTCFLAGS += -mcpu=405
 $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405
 $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405
 $(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405
+$(obj)/cuboot-acadia.o: BOOTCFLAGS += -mcpu=405
 $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405
 $(obj)/virtex405-head.o: BOOTAFLAGS += -mcpu=405