[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ppc patch] ASFLAGS and CFLAGS
From: |
Hollis Blanchard |
Subject: |
[ppc patch] ASFLAGS and CFLAGS |
Date: |
Fri, 15 Oct 2004 19:48:02 -0500 |
User-agent: |
Mutt/1.5.6+20040722i |
This patch adds -msoft-float to CFLAGS as discussed previously, and
replaces -fno-builtin with -ffreestanding (which according to gcc docs
implies -fno-builtin).
It also removes 2 flags from ASFLAGS that are meaningless for assembly
files.
I haven't yet resolved the genmk.rb issues with listing grubof in
sbin_UTILITIES. We don't want grubof to be an "IMAGE", as that does an
objcopy -O binary. So I think a new class is required in genmk.rb...
perhaps called pkgdata_ELF or so.
-Hollis
2004-10-15 Hollis Blanchard <address@hidden>
* conf/powerpc-ieee1275.rmk (COMMON_ASFLAGS): Remove -nostdinc
and -fno-builtin.
(COMMON_CFLAGS): Remove -D__ASSEMBLY__ and -fno-builtin; add
-ffreestanding and -msoft-float.
Index: conf/powerpc-ieee1275.rmk
===================================================================
RCS file: /cvsroot/grub/grub2/conf/powerpc-ieee1275.rmk,v
retrieving revision 1.10
diff -u -p -r1.10 powerpc-ieee1275.rmk
--- conf/powerpc-ieee1275.rmk 22 Sep 2004 18:26:16 -0000 1.10
+++ conf/powerpc-ieee1275.rmk 16 Oct 2004 00:08:14 -0000
@@ -1,8 +1,8 @@
# -*- makefile -*-
-COMMON_ASFLAGS = -nostdinc -fno-builtin -D__ASSEMBLY__
-COMMON_CFLAGS = -fno-builtin -D__ASSEMBLY__
+COMMON_ASFLAGS = -D__ASSEMBLY__
+COMMON_CFLAGS = -ffreestanding -msoft-float
# Images.
- [ppc patch] ASFLAGS and CFLAGS,
Hollis Blanchard <=