bootwrapper: fix build error on virtex405-head.S
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.
Signed-off-by Grant Likely <[email protected]>
---
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
@@ -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
Josh Boyer
AppliedQuoted 6 lines · Grant Likely
From: Grant Likely <[email protected]>
virtex405-head.Sis 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 <[email protected]>
Applied, pushed to 4xx/next and 4xx/for-2.6.26, and included in my pull request.
josh