Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1G7C0z-0005ZU-4u for mharc-grub-devel@gnu.org; Sun, 30 Jul 2006 10:11:33 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7C0x-0005Ym-GL for grub-devel@gnu.org; Sun, 30 Jul 2006 10:11:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7C0u-0005YU-Ut for grub-devel@gnu.org; Sun, 30 Jul 2006 10:11:30 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7C0u-0005YL-Ot for grub-devel@gnu.org; Sun, 30 Jul 2006 10:11:28 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7C3M-0003Pr-Pg for grub-devel@gnu.org; Sun, 30 Jul 2006 10:14:00 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 2B9F63CA8CF1E for ; Sun, 30 Jul 2006 18:12:07 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id BB1953CA8CF1D for ; Sun, 30 Jul 2006 18:12:06 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sun, 30 Jul 2006 16:11:26 +0200 User-Agent: KMail/1.8.2 References: <20060729133502.GA16439@titanium.v3.ca> In-Reply-To: <20060729133502.GA16439@titanium.v3.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607301611.26752.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.496922, version=0.17.2 Subject: Re: porting to hppa-ipl 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: Sun, 30 Jul 2006 14:11:31 -0000 On Saturday 29 July 2006 15:35, Jeff Bailey wrote: > Hi! I started working on the port to hppa-ipl and have run into three > things: Amazing. ;) > 1) Dependancy generation seems to skip out on files that don't exist. > This means that in the Makefile, hello.c doesn't wind up depending on > grub_script.tab.h. "make grub_script.tab.h" works fine, and then the > build can proceed. Current ports work around this by defining _HEADERS > lines, apparently, but this dependancy should probalby be explicitely > declared somewhere, or this file should be forcibly generated. Why does hello.c depend on grub_script.tab.h? AFAIK, only normal/lexer.c depends on grub_script.tab.h, and the dependency is automatically generated in my environment. > 2) When hacking on the build env, how do I force things to be > regenerated? When I do "make conf/hppa-ipl.mk", it doesn't generate the > file for me. Isn't it normal in make??? When I play with make, I do "rm -f FILE; make FILE". I don't know anything else more elegant. > 3) The files for grub-emu and others seems to be copied into each file > in conf. Should these be refactored out into common.mk? It seems a > waste for me to just copy them into hppa-ipl for yet another time. Well, the original idea I had was that it could be possible to implement grub-emu differently among architectures. Currently we only emulate PC. I cannot tell you if this is a good thing. As grub-emu does not use much in i386- or PC-specific code, this might be sufficient. If so, it is a good idea to share the same config in common.rmk. Okuji