grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ppc] ASFLAGS


From: Hollis Blanchard
Subject: Re: [ppc] ASFLAGS
Date: Thu, 14 Oct 2004 09:48:21 -0500

On Oct 11, 2004, at 11:18 PM, Hollis Blanchard wrote:

I'm noticing that COMMON_ASFLAGS in conf/powerpc-ieee1275.rmk is never used (in the .mk file). crt0.S is compiled using CFLAGS just like all the .c files. genmk.rb seems to have code to account for .c vs .S, but it's not working.

It currently reads like this:
        COMMON_ASFLAGS = -nostdinc -fno-builtin -D__ASSEMBLY__

The first two flags are inappropriate for assembly files, and nothing uses __ASSEMBLY__ at all... Should COMMON_ASFLAGS be removed entirely?

Okujisan, do you know why genmk.rb isn't using ASFLAGS? It's using CFLAGS even for boot/powerpc/ieee1275/crt0.S ... (search for "grubof-boot_powerpc_ieee1275_crt0.o:" in conf/powerpc-ieee1275.mk).

-Hollis





reply via email to

[Prev in Thread] Current Thread [Next in Thread]