Really allow overriding HOSTARCH

git-svn-id: svn://coreboot.org/openbios/openbios-devel@434 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2009-01-31 13:31:29 +00:00
parent c135215b74
commit cfe6134890
9 changed files with 9 additions and 9 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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