Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1L69z0-0005VU-CA for mharc-grub-devel@gnu.org; Fri, 28 Nov 2008 15:30:34 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L69yz-0005VP-7d for grub-devel@gnu.org; Fri, 28 Nov 2008 15:30:33 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L69yx-0005Uh-K3 for grub-devel@gnu.org; Fri, 28 Nov 2008 15:30:32 -0500 Received: from [199.232.76.173] (port=54583 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L69yx-0005Ue-HK for grub-devel@gnu.org; Fri, 28 Nov 2008 15:30:31 -0500 Received: from igw3.br.ibm.com ([32.104.18.26]:43952) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L69yx-0006hU-4U for grub-devel@gnu.org; Fri, 28 Nov 2008 15:30:31 -0500 Received: from d24relay01.br.ibm.com (unknown [9.8.31.16]) by igw3.br.ibm.com (Postfix) with ESMTP id 6CC84390167 for ; Fri, 28 Nov 2008 18:27:37 -0200 (BRDT) Received: from d24av01.br.ibm.com (d24av01.br.ibm.com [9.18.232.46]) by d24relay01.br.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mASLU1im3612794 for ; Fri, 28 Nov 2008 18:30:02 -0300 Received: from d24av01.br.ibm.com (loopback [127.0.0.1]) by d24av01.br.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mASKUQ8G031302 for ; Fri, 28 Nov 2008 18:30:26 -0200 Received: from [9.8.14.46] ([9.8.14.46]) by d24av01.br.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id mASKUQUb031286 for ; Fri, 28 Nov 2008 18:30:26 -0200 From: Manoel Rebelo Abranches To: The development of GRUB 2 In-Reply-To: <20081128201736.GH7980@thorin> References: <1227885703.7095.16.camel@manoel-laptop> <20081128195939.GE7980@thorin> <1227903072.19951.1.camel@manoel-laptop> <20081128201736.GH7980@thorin> Content-Type: text/plain Date: Fri, 28 Nov 2008 18:30:22 -0200 Message-Id: <1227904222.19951.9.camel@manoel-laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.24.1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (tstamp-) Subject: Re: ld option --build-id=none X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Nov 2008 20:30:33 -0000 Its not necessary when creating the .o object files, only when linking then to create the final kern.elf. That is done changing the variable kernel_elf_LDFLAGS in conf/powerpc-ieee1275.rmk. but I dont know how to use the grub_cv_prog_ld_build_id_none variable in aclocal.m4 to change kernelelf_LDFLAGS in the conf/powerpc-ieee1275.rm file. Thanks in advance for the help. On Fri, 2008-11-28 at 21:17 +0100, Robert Millan wrote: > On Fri, Nov 28, 2008 at 06:11:12PM -0200, Manoel Rebelo Abranches wrote: > > But it is only passed in modules compilation. I need it when creating > > kernel.elf as well. > > I assume we want this for every *_elf target? Then we shouldn't be restricting > it to modules (perhaps this comes from the assumption that only modules use > ELF, which is true on i386-pc) > -- Best Regards, Manoel Abranches IBM Linux Technology Center Brazil