diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2007-05-29 15:37:12 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-06-02 21:01:56 +1000 |
commit | b610b9780bdb2750849f32c2eefef46af58c67f8 (patch) | |
tree | eea626c9e244fad1c66c2c79b63c4db3c1fa36d9 /fs/afs/fsclient.c | |
parent | 0570d4ed4325c0fb2ceb75f45a21d878b1741b61 (diff) |
[POWERPC] Don't use HOSTCFLAGS in BOOTCFLAGS
In the bootwrapper code for powerpc, we include HOSTCFLAGS into the
BOOTCFLAGS used for building the zImage wrapper code. Since the
wrapper code is not host code, this makes no sense. This patch
removes the use of HOSTCFLAGS here, instead including directly into
BOOTCFLAGS those flags from the normal kernel CFLAGS which also make
sense in the bootwrapper code.
In particular, this makes the bootwrapper use -msoft-float, preventing
the compiler from generating floating point instructions. Previously,
under some circumstances the compiler could generate floating point
instructions in the bootwrapper which would cause exceptions on
embedded CPUS which don't have floating point support.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'fs/afs/fsclient.c')
0 files changed, 0 insertions, 0 deletions