From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: patch to get rid of hardcoded grub_*_init in grub-probe / grub-setup
Date: Sun, 22 Jul 2007 15:18:14 +0200 [thread overview]
Message-ID: <87hcnwfug9.fsf@xs4all.nl> (raw)
In-Reply-To: <20070627201153.GA7329@aragorn> (Robert Millan's message of "Wed, 27 Jun 2007 22:11:53 +0200")
Robert Millan <rmh@aybabtu.com> writes:
> As suggested by Marco, I adapted the framework to generate grub_init_all
> / grub_fini_all functions from grub-emu to also be used on grub-probe and
> grub-setup.
>
> Any comments on the patch?
Two comments on the changelog entry. If you can fix those, you can
apply the patch.
--
Marco
> 2007-06-27 Robert Millan <rmh@aybabtu.com>
>
> * geninitheader.sh: Process file specified in first parameter rather
> than hardcoding grub_modules_init.lst.
> * geninit.sh: Likewise. Also, construct header name dynamicaly rather
> than hardcoding grub_modules_init.h.
>
> * conf/common.rmk: Rename grub_modules_init.[ch] files associated with
> grub-emu to grub_emu_init.[ch]. Add rules to build analogous
> grub_probe_init.[ch] and grub_setup_init.[ch].
>
> * conf/powerpc-ieee1275.rmk (grub_emu_DEPENDENCIES): Replace
> grub_modules_init.h with grub_emu_init.h.
> (grub_probe_*): Add new grub_probe_init.[ch] files.
Please do list the functions, instead of using *.
> * conf/i386-efi.rmk: Likewise.
> * conf/i386-pc.rmk: Likewise.
> (grub_setup_*): Add new grub_setup_init.[ch] files.
Same here.
> * util/grub-emu.c: Replace grub_modules_init.h with grub_emu_init.h.
> * util/grub-probe.c: Include grub_probe_init.h. Use grub_init_all()
> to initialize modules rather than a list of hardcoded functions.
> * util/i386/pc/grub-setup.c: Include grub_setup_init.h. Use
> grub_init_all() to initialize modules rather than a list of hardcoded
> functions.
--
Marco
prev parent reply other threads:[~2007-07-22 13:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-27 20:11 patch to get rid of hardcoded grub_*_init in grub-probe / grub-setup Robert Millan
2007-07-22 13:18 ` Marco Gerards [this message]
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=87hcnwfug9.fsf@xs4all.nl \
--to=mgerards@xs4all.nl \
--cc=grub-devel@gnu.org \
/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.