grub-devel
[Top][All Lists]
Advanced

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

Re: how to add a new command


From: Alex Roman
Subject: Re: how to add a new command
Date: Tue, 12 Jun 2007 10:24:02 -0400

On 12/06/07, adrian15 <address@hidden> wrote:
        Once I write a new command like map.c or pause.c how am I supposed to
add it to the standard grub?
        Should I write the makefiles manually?! or should I use some of the .sh
files at the grub2 source code root folder?

I've been editing the .rmk files in conf/ which should cause the .mk
files to get updated (at least that's my understanding of it, so far).

Make sure the command is placed in the right Makefile... I had the
problem where I was including the command in both grub-emu and
grub/i386-pc and grub-emu didn't link due to undefined symbols
(because those didn't exist in grub-emu).


Cheers!

--
Alex Roman <address@hidden>




reply via email to

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