mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-11 15:40:50 +00:00
[POWERPC] Fix compiler/assembler flags for Ebony platform boot files
The recent addition of assembler flags for 44x.c and ebony.c in the bootwrapper to make them compile on certain toolchains was not correct and could break other platforms. This patch switches to using a compiler flag instead, which implies the appropriate assembler flag, and also stops the compiler itself generating instructions which are invalid for the platform in question. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
parent
7d43e57764
commit
988519acb3
@ -33,8 +33,8 @@ endif
|
|||||||
|
|
||||||
BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj)
|
BOOTCFLAGS += -I$(obj) -I$(srctree)/$(obj)
|
||||||
|
|
||||||
$(obj)/44x.o: BOOTCFLAGS += -Wa,-mbooke
|
$(obj)/44x.o: BOOTCFLAGS += -mcpu=440
|
||||||
$(obj)/ebony.o: BOOTCFLAGS += -Wa,-mbooke
|
$(obj)/ebony.o: BOOTCFLAGS += -mcpu=440
|
||||||
|
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user