linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] [POWERPC] bootwrapper: fix build error on virtex405-head.S
@ 2008-04-24 17:33 Grant Likely
  2008-04-24 18:38 ` Josh Boyer
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Likely @ 2008-04-24 17:33 UTC (permalink / raw)
  To: linuxppc-dev, jwboyer, paulus

From: Grant Likely <grant.likely@secretlab.ca>

virtex405-head.S is an assembler file, not a C file; therefore BOOTAFLAGS
is the correct place to set the needed -mcpu=405 flag.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---
Paul, Josh;

This is a bug fix required in .26 ASAP.

Cheers,
g.

 arch/powerpc/boot/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
index 5ba50c6..7822d25 100644
--- a/arch/powerpc/boot/Makefile
+++ b/arch/powerpc/boot/Makefile
@@ -40,7 +40,7 @@ $(obj)/ebony.o: BOOTCFLAGS += -mcpu=405
 $(obj)/cuboot-taishan.o: BOOTCFLAGS += -mcpu=405
 $(obj)/cuboot-katmai.o: BOOTCFLAGS += -mcpu=405
 $(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405
-$(obj)/virtex405-head.o: BOOTCFLAGS += -mcpu=405
+$(obj)/virtex405-head.o: BOOTAFLAGS += -mcpu=405
 
 
 zlib       := inffast.c inflate.c inftrees.c

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] [POWERPC] bootwrapper: fix build error on virtex405-head.S
  2008-04-24 17:33 [PATCH] [POWERPC] bootwrapper: fix build error on virtex405-head.S Grant Likely
@ 2008-04-24 18:38 ` Josh Boyer
  0 siblings, 0 replies; 2+ messages in thread
From: Josh Boyer @ 2008-04-24 18:38 UTC (permalink / raw)
  To: Grant Likely; +Cc: linuxppc-dev, paulus

On Thu, 2008-04-24 at 11:33 -0600, Grant Likely wrote:
> From: Grant Likely <grant.likely@secretlab.ca>
> 
> virtex405-head.S is an assembler file, not a C file; therefore BOOTAFLAGS
> is the correct place to set the needed -mcpu=405 flag.
> 
> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>

Applied, pushed to 4xx/next and 4xx/for-2.6.26, and included in my pull
request.

josh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-24 18:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-24 17:33 [PATCH] [POWERPC] bootwrapper: fix build error on virtex405-head.S Grant Likely
2008-04-24 18:38 ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).