Przeglądaj źródła

[POWERPC] 4xx: Fix Walnut wrapper compile errors

Pass the appropriate -mcpu flag to the treeboot-walnut.o object to prevent
some toolchains from erroring out with unknown opcodes

Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Josh Boyer 17 lat temu
rodzic
commit
2e71cc0d51
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      arch/powerpc/boot/Makefile

+ 1 - 0
arch/powerpc/boot/Makefile

@@ -33,6 +33,7 @@ BOOTCFLAGS	+= -I$(obj) -I$(srctree)/$(obj)
 
 $(obj)/4xx.o: BOOTCFLAGS += -mcpu=440
 $(obj)/ebony.o: BOOTCFLAGS += -mcpu=440
+$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405
 
 zlib       := inffast.c inflate.c inftrees.c
 zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h