From: Andrey Borzenkov <arvidjaar@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: mattroisang@gmail.com
Subject: Re: How to develop and integrate brand new module into GRUB2?
Date: Sat, 31 Aug 2013 15:19:44 +0400 [thread overview]
Message-ID: <20130831151944.53a86b21@opensuse.site> (raw)
In-Reply-To: <CAA0a8nWpac3zO18X5oGv9nw8y7nd4xErKPZzQtSZONADKXXyDg@mail.gmail.com>
В Tue, 27 Aug 2013 17:21:01 -0700
Mat Troi <mattroisang@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
next prev parent reply other threads:[~2013-08-31 11:20 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-28 0:21 How to develop and integrate brand new module into GRUB2? Mat Troi
2013-08-31 11:19 ` Andrey Borzenkov [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-09-26 7:28 Vijayakumar Venganti
2013-09-26 7:35 ` Vladimir 'φ-coder/phcoder' Serbinenko
2013-10-02 22:03 ` Mat Troi
2013-10-02 22:25 ` Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130831151944.53a86b21@opensuse.site \
--to=arvidjaar@gmail.com \
--cc=grub-devel@gnu.org \
--cc=mattroisang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.