Skip to contentSkip to conversation

bootwrapper: fix build error on virtex405-head.S

PATCH Applied Grant Likely 2 participants 2 messages Apr 24, 2008 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bootwrapper: fix build error on virtex405-head.S

From: Grant Likely <[email protected]>

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

---
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(-)
arch/powerpc/boot/Makefile +1 -1
index 5ba50c6..7822d25 100644
@@ -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
Applied
#1 lore raw
Quoted 6 lines · Grant Likely

From: Grant Likely <[email protected]>

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

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

josh