mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Use a cross compiler prefix like PPC
git-svn-id: svn://coreboot.org/openbios/openbios-devel@276 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -12,13 +12,14 @@ HOSTCC := gcc
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTINCLUDES := -Iinclude -Ikernel/include -I$(ODIR)/target/include
|
||||
|
||||
CC := sparc-linux-gcc
|
||||
AS := sparc-linux-as
|
||||
AR := sparc-linux-ar
|
||||
LD := sparc-linux-ld
|
||||
NM := sparc-linux-nm
|
||||
STRIP := sparc-linux-strip
|
||||
RANLIB := sparc-linux-ranlib
|
||||
TARGET=sparc-elf-
|
||||
CC := $(TARGET)gcc
|
||||
AS := $(TARGET)as
|
||||
AR := $(TARGET)ar
|
||||
LD := $(TARGET)ld
|
||||
NM := $(TARGET)nm
|
||||
STRIP := $(TARGET)strip
|
||||
RANLIB := $(TARGET)ranlib
|
||||
CFLAGS := -Os -Wall -W -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH -USWAP_ENDIANNESS -fno-builtin -g
|
||||
CFLAGS+= -Wa,-xarch=v8 -Wa,-32 -m32 -mcpu=supersparc
|
||||
CFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
Reference in New Issue
Block a user