From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KMOz0-0007BV-Fz for mharc-grub-devel@gnu.org; Fri, 25 Jul 2008 11:13:26 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KMOyy-0007BK-RC for grub-devel@gnu.org; Fri, 25 Jul 2008 11:13:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KMOyx-0007Az-7O for grub-devel@gnu.org; Fri, 25 Jul 2008 11:13:24 -0400 Received: from [199.232.76.173] (port=40531 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KMOyx-0007Aw-1t for grub-devel@gnu.org; Fri, 25 Jul 2008 11:13:23 -0400 Received: from gateway11.websitewelcome.com ([70.85.130.22]:40582) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KMOyw-0003if-K5 for grub-devel@gnu.org; Fri, 25 Jul 2008 11:13:22 -0400 Received: (qmail 16663 invoked from network); 25 Jul 2008 15:20:17 -0000 Received: from gator297.hostgator.com (74.53.228.114) by gateway11.websitewelcome.com with SMTP; 25 Jul 2008 15:20:17 -0000 Received: from c-67-185-142-228.hsd1.wa.comcast.net ([67.185.142.228]:50170 helo=localhost) by gator297.hostgator.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1KMOyp-0002rC-La for grub-devel@gnu.org; Fri, 25 Jul 2008 10:13:15 -0500 Date: Fri, 25 Jul 2008 08:12:37 -0700 From: Colin D Bennett To: grub-devel@gnu.org Message-ID: <20080725081237.68a03d6e@gibibit.com> In-Reply-To: <694347.9013.qm@web31608.mail.mud.yahoo.com> References: <694347.9013.qm@web31608.mail.mud.yahoo.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator297.hostgator.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - gibibit.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Linking 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, 25 Jul 2008 15:13:25 -0000 On Fri, 25 Jul 2008 07:33:41 -0700 (PDT) Viswesh S wrote: > Suppose I am adding a new command,so should I create a new file=C2=A0for > that command and modify only the command,rmk accordingly? All the > other files get autogenerated by autogen.sh ? Is this sufficient ? > Viswesh Yes. Actually when you run 'make', the conf/*.mk files are regenerated from the conf/*.rmk files if necessary, so you don't need to re-run autogen.sh after changing .rmk files. I was puzzled with the conf/* files at first too, and though I had to change both, and after looking at the .mk files, I was saddened. However, now that I know to change only the .rmk files, life is happy and the build system is actually easy to work with. Regards, Colin > ----- Original Message ---- > From: Colin D Bennett > To: grub-devel@gnu.org > Sent: Friday, 25 July, 2008 7:31:28 PM > Subject: Re: Linking >=20 > On Fri, 25 Jul 2008 03:22:57 -0700 (PDT) > Viswesh S wrote: >=20 > > The reason for hello to be put in a directory because it is a module > > and not a simple command.Understood myself >=20 > Actually, no.=C2=A0 Every C source file in the 'commands' directory is > currently a module itself. >=20 > I think the reason that 'hello.mod' is separated out is to make it > easier to see that there is only one source file as part of > 'hello.mod'. >=20 > Regards, > Colin >=20 >=20 > > ----- Original Message ---- > > From: Viswesh S > > To: The development of GRUB 2 > > Sent: Friday, 25 July, 2008 3:44:48 PM > > Subject: Re: Linking > >=20 > >=20 > > Hi, > > =C2=A0 > > So if I add a module or add a new command,which are the files which > > I should modify in general and which all gets generated > > automatically. Is this somewhere documented ? > > =C2=A0 > > Why is it that hello command is put in a separate directory, while > > lspci is put inside the commands directory.=20 > > Is there a specific reason for this. > > =C2=A0 > > =C2=A0 > > Viswesh > >=20 > >=20 > >=20 > > ----- Original Message ---- > > From: Pavel Roskin > > To: grub-devel@gnu.org > > Sent: Friday, 25 July, 2008 11:59:21 AM > > Subject: Re: Linking > >=20 > > Quoting Viswesh S : > >=20 > > > Hi Pavel, > > > Could you please attach the modified file ? > > > Viswesh > >=20 > > No, I'm just giving you an idea what you may be doing wrong. > >=20 >=20 >=20 > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel >=20 >=20 >=20 > Share files, take polls, and make new friends - all under one > roof. Go to http://in.promos.yahoo.com/groups/