Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1G7Do8-0007pH-Gh for mharc-grub-devel@gnu.org; Sun, 30 Jul 2006 12:06:24 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G7Do6-0007oU-Dz for grub-devel@gnu.org; Sun, 30 Jul 2006 12:06:22 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G7Do3-0007nE-Bf for grub-devel@gnu.org; Sun, 30 Jul 2006 12:06:20 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G7Do2-0007n7-TP for grub-devel@gnu.org; Sun, 30 Jul 2006 12:06:18 -0400 Received: from [212.85.152.101] (helo=kotoba.storever.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1G7DqV-0001bG-Pg for grub-devel@gnu.org; Sun, 30 Jul 2006 12:08:52 -0400 Received: from kotoba.oasis.nexedi.com (kotoba.oasis.nexedi.com [212.85.152.101]) by kotoba.storever.com (Postfix) with ESMTP id 02AAE3CA8CF40 for ; Sun, 30 Jul 2006 20:06:58 +0200 (CEST) Received: from [??1] (localhost [127.0.0.1]) by kotoba.storever.com (Postfix) with ESMTP id 9D4483CA8CF1F for ; Sun, 30 Jul 2006 20:06:57 +0200 (CEST) From: "Yoshinori K. Okuji" Organization: enbug.org To: The development of GRUB 2 Date: Sun, 30 Jul 2006 18:06:15 +0200 User-Agent: KMail/1.8.2 References: <20060729133502.GA16439@titanium.v3.ca> <200607301611.26752.okuji@enbug.org> <20060730143118.GA12425@titanium.v3.ca> In-Reply-To: <20060730143118.GA12425@titanium.v3.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200607301806.15452.okuji@enbug.org> X-Bogosity: No, tests=bogofilter, spamicity=0.499988, 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 16:06:23 -0000 On Sunday 30 July 2006 16:31, Jeff Bailey wrote: > One of the nice things, though, is that I have the support of the folks > who wrote palo. Great. :) > According to GCC: > > gcc -Ihello -I./hello -I. -Iinclude -I./include -Wall -W -Wall -W -Wshadow > -Wpointer-arith -Wmissing-prototypes -Wundef > -Wstrict-prototypes -g -Os -fno-builtin -c -o hello_mod-hello_hello.o > hello/hello.c In file included from include/grub/normal.h:28, > from hello/hello.c:27: > include/grub/script.h:27:29: error: grub_script.tab.h: No such file or > directory Right. But I have this dependency generated automatically as well: hello_mod-hello_hello.o hello_mod-hello_hello.d : ../hello/hello.c ../include/grub/types.h config.h \ include/grub/cpu/types.h ../include/grub/misc.h \ /usr/lib/gcc/i586-mandriva-linux-gnu/4.0.1/include/stdarg.h \ ../include/grub/symbol.h ../include/grub/err.h ../include/grub/mm.h \ ../include/grub/dl.h ../include/grub/normal.h ../include/grub/setjmp.h \ include/grub/cpu/setjmp.h ../include/grub/arg.h \ ../include/grub/script.h ../include/grub/parser.h grub_script.tab.h So the question is why you don't have it. Please look at the content of hello_mod-hello_hello.d. > > > 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. > > Right it is normal in make, which is why I was surprised it didn't work: > > jbailey@test148:~/Programming/cvstree/grub2/conf$ rm hppa-ipl.mk > jbailey@test148:~/Programming/cvstree/grub2/conf$ cd .. > jbailey@test148:~/Programming/cvstree/grub2$ make conf/hppa-ipl.mk > Makefile:105: conf/hppa-ipl.mk: No such file or directory > make: *** No rule to make target `conf/hppa-ipl.mk'. Stop. > jbailey@test148:~/Programming/cvstree/grub2$ cd conf > jbailey@test148:~/Programming/cvstree/grub2/conf$ make hppa-ipl.mk > make: *** No rule to make target `hppa-ipl.mk'. Stop. > jbailey@test148:~/Programming/cvstree/grub2/conf$ ls hppa-ipl.rmk > hppa-ipl.rmk > jbailey@test148:~/Programming/cvstree/grub2/conf$ Since it works for me, all I can say is "I don't know". Have you added hppa-ipl.rmk into RMKFILES in Makefile.in? Okuji