[POWERPC] bootwrapper: fix build error on virtex405-head.S
authorGrant Likely <grant.likely@secretlab.ca>
Thu, 24 Apr 2008 17:33:44 +0000 (03:33 +1000)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Thu, 24 Apr 2008 18:32:47 +0000 (13:32 -0500)
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>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/powerpc/boot/Makefile

index 5ba50c6..7822d25 100644 (file)
@@ -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