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 _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel