All of lore.kernel.org
 help / color / mirror / Atom feed
* Question: how to add new menu functionality
@ 2011-04-22 10:03 Stephen Torri
  2011-04-22 11:40 ` Colin Watson
  0 siblings, 1 reply; 5+ messages in thread
From: Stephen Torri @ 2011-04-22 10:03 UTC (permalink / raw)
  To: grub-devel

I am using the released grub-1.98 code for my development. The problem I
am having is how to add new functionality to the 'normal' module. I
would like to add a new feature to the code using some functions that
don't presently exist in the code. When I coded the functions I had to
manually edit def-normal.lst to get the compiler to be happy and
successfully complete the build. This was not enough because when used
the new grub2 loader on a drive I got an error saying "error: the symbol
'work' not found" is displayed. This error code is reported because the
symbol cannot be found in a symbol table. So to summarize what I am
asking:

1. How do you configure the build system to compile with new files (e.g.
new command for command line)?

2. How do you configure the build system to compile with new functions
contained in existing files?

3. Is there a tutorial on how to develop for Grub2? If I missed that in
my search I am sorry for not reading that first.

4. How do you debug your Grub2 builds? The web had references to a patch
to add in GDB functionality.

Stephen



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-04-22 23:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-22 10:03 Question: how to add new menu functionality Stephen Torri
2011-04-22 11:40 ` Colin Watson
2011-04-22 22:25   ` Stephen Torri
2011-04-22 22:40     ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-04-22 23:58     ` Colin Watson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.