[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to develop and integrate brand new module into GRUB2?
From: |
Andrey Borzenkov |
Subject: |
Re: How to develop and integrate brand new module into GRUB2? |
Date: |
Sat, 31 Aug 2013 15:19:44 +0400 |
В Tue, 27 Aug 2013 17:21:01 -0700
Mat Troi <address@hidden> пишет:
> 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