mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Really allow overriding HOSTARCH
git-svn-id: svn://coreboot.org/openbios/openbios-devel@434 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -10,7 +10,7 @@ ARCH := amd64
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := ppc
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -Os -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := sparc32
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := sparc64
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := x86
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := ppc
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -Os -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := sparc32
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := sparc64
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wa,-xarch=v9 -Wa,-64 -m64 -mcpu=ultrasparc -mcmodel=medany
|
||||
|
||||
@@ -10,7 +10,7 @@ ARCH := x86
|
||||
ODIR := .
|
||||
SRCDIR := ..
|
||||
HOSTCC := gcc
|
||||
HOSTARCH=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
HOSTARCH?=$(shell $(SRCDIR)/config/scripts/archname)
|
||||
CROSSCFLAGS=$(shell $(SRCDIR)/config/scripts/crosscflags $(HOSTARCH) $(ARCH))
|
||||
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
|
||||
HOSTCFLAGS+= -Wredundant-decls -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-declarations
|
||||
|
||||
Reference in New Issue
Block a user