Automatic cross-compiler flags

Detect cross-compiling flags (CROSSCFLAGS) automatically based on endian
and word size differences.



git-svn-id: svn://coreboot.org/openbios/openbios-devel@66 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Stefan Reinauer
2006-07-18 21:35:55 +00:00
parent 2d78d46b11
commit b623837257
9 changed files with 3 additions and 33 deletions

View File

@@ -9,7 +9,6 @@
ARCH := sparc64
ODIR := obj-$(ARCH)
HOSTCC := gcc
CROSSCFLAGS := -DNATIVE_BITWIDTH_SMALLER_THAN_HOST_BITWIDTH -DSWAP_ENDIANNESS
HOSTCFLAGS := -O2 -g -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
HOSTINCLUDES := -Iinclude -Ikernel/include -I$(ODIR)/target/include