[OpenBIOS] r263 - in openbios-devel/config: examples scripts
svn at openbios.org
svn at openbios.org
Tue Nov 25 20:41:42 CET 2008
Author: blueswirl
Date: 2008-11-25 20:41:41 +0100 (Tue, 25 Nov 2008)
New Revision: 263
Modified:
openbios-devel/config/examples/cross-ppc_rules.xml
openbios-devel/config/scripts/crosscflags
Log:
Fix crosscflags for x86_64 and ppc cases, remove r251 hack, closes ticket #7
Modified: openbios-devel/config/examples/cross-ppc_rules.xml
===================================================================
--- openbios-devel/config/examples/cross-ppc_rules.xml 2008-11-25 18:30:22 UTC (rev 262)
+++ openbios-devel/config/examples/cross-ppc_rules.xml 2008-11-25 19:41:41 UTC (rev 263)
@@ -9,7 +9,7 @@
ARCH := ppc
ODIR := obj-$(ARCH)
HOSTCC := gcc
-HOSTCFLAGS := -Os -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS) -DSWAP_ENDIANNESS
+HOSTCFLAGS := -Os -Wall -W -DFCOMPILER -DBOOTSTRAP $(CROSSCFLAGS)
HOSTINCLUDES := -Iinclude -Ikernel/include -I$(ODIR)/target/include
#
# MOLPATH is needed if you want to build openbios-mol.elf
Modified: openbios-devel/config/scripts/crosscflags
===================================================================
--- openbios-devel/config/scripts/crosscflags 2008-11-25 18:30:22 UTC (rev 262)
+++ openbios-devel/config/scripts/crosscflags 2008-11-25 19:41:41 UTC (rev 263)
@@ -3,7 +3,8 @@
host=$1
target=$2
-if test "$host" = "powerpc" -o "$host" = "mips" -o "$host" = "s390" \
+if test "$host" = "powerpc" -o "$host" = "ppc" \
+ -o "$host" = "mips" -o "$host" = "s390" \
-o "$host" = "sparc32" -o "$host" = "sparc64" \
-o "$host" = "m68k" -o "$host" = "armv4b"; then
hostbigendian="yes"
@@ -13,13 +14,15 @@
# host long bits test
if test "$host" = "sparc64" -o "$host" = "ia64" \
- -o "$host" = "amd64" -o "$host" = "alpha"; then
+ -o "$host" = "amd64" -o "$host" = "x86_64" \
+ -o "$host" = "alpha"; then
hostlongbits="64"
else
hostlongbits="32"
fi
-if test "$target" = "powerpc" -o "$target" = "mips" -o "$target" = "s390" \
+if test "$target" = "powerpc" -o "$target" = "ppc" \
+ -o "$target" = "mips" -o "$target" = "s390" \
-o "$target" = "sparc32" -o "$target" = "sparc64" \
-o "$target" = "m68k" -o "$target" = "armv4b"; then
targetbigendian="yes"
@@ -29,7 +32,8 @@
# target long bits test
if test "$target" = "sparc64" -o "$target" = "ia64" \
- -o "$target" = "amd64" -o "$target" = "alpha"; then
+ -o "$target" = "amd64" -o "target" = "x86_64" \
+ -o "$target" = "alpha"; then
targetlongbits="64"
else
targetlongbits="32"
More information about the OpenBIOS
mailing list