В Tue, 27 Aug 2013 17:21:01 -0700
Mat Troi <mattrois...@gmail.com> пишет:

> Hi,
> 
> I need to develop a new module and integrate into GRUB2. I already have the
> code written, my question is how to integrate the code into the existing
> GRUB2 build system so that the code gets built when make is entered at
> GRUB2's top level directory?
> 
> My module is located at <Working
> directory>/grub2/grub-core/testmodule/testmodule.c
> 

At the minimum you need to add

module = {
  name = testmodule;
  common = testmodule/testmodule.c;
}

to grub-core/Makefile.core.def


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to