Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2e71cc0d authored by Josh Boyer's avatar Josh Boyer
Browse files

[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: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
parent 1ad74998
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -33,6 +33,7 @@ BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj)


$(obj)/4xx.o: BOOTCFLAGS += -mcpu=440
$(obj)/4xx.o: BOOTCFLAGS += -mcpu=440
$(obj)/ebony.o: BOOTCFLAGS += -mcpu=440
$(obj)/ebony.o: BOOTCFLAGS += -mcpu=440
$(obj)/treeboot-walnut.o: BOOTCFLAGS += -mcpu=405


zlib       := inffast.c inflate.c inftrees.c
zlib       := inffast.c inflate.c inftrees.c
zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h
zlibheader := inffast.h inffixed.h inflate.h inftrees.h infutil.h