All of lore.kernel.org
 help / color / mirror / Atom feed
* [ppc patch] ASFLAGS and CFLAGS
@ 2004-10-16  0:48 Hollis Blanchard
  2004-10-16  9:34 ` Marco Gerards
  0 siblings, 1 reply; 7+ messages in thread
From: Hollis Blanchard @ 2004-10-16  0:48 UTC (permalink / raw)
  To: grub-devel

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  <hollis@penguinppc.org>

	* 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.
 



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-10-17 21:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-16  0:48 [ppc patch] ASFLAGS and CFLAGS Hollis Blanchard
2004-10-16  9:34 ` Marco Gerards
2004-10-16 15:07   ` Hollis Blanchard
2004-10-17 16:36     ` Marco Gerards
2004-10-17 20:30     ` Yoshinori K. Okuji
2004-10-17 21:41       ` Hollis Blanchard
2004-10-17 21:52         ` Yoshinori K. Okuji

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.