grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Steffen <osteffen@redhat.com>
To: grub-devel@gnu.org
Subject: Module dependencies
Date: Wed, 4 Oct 2023 02:31:01 -0700	[thread overview]
Message-ID: <CA+bRGFqEZ8hJzH58Yw4vSgmq+8kGXSpa3DF3nm1U6ow+sr3jQw@mail.gmail.com> (raw)

Hi,

Is there a way to specify dependencies for a module? As in a list of
other modules that need to be loaded before?

I found a macro named GRUB_MOD_DEP in dh.h, but when I use it in the
module's .c file I get errors about a missing .moddeps section. It also
does not seem to be in use anywhere.

How are dependencies handled? I looked at moddep.lst and it does not
show anything listed for the module I am working on, while other modules
have a list of dependencies. What am I missing here?

Thanks a lot,

 Oliver


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

             reply	other threads:[~2023-10-04  9:31 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-04  9:31 Oliver Steffen [this message]
2023-10-05  6:07 ` Module dependencies Daniel Axtens
2023-10-19 11:50   ` Oliver Steffen
2023-10-19 13:09     ` Daniel Axtens
2023-11-10 17:31     ` Daniel Kiper

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=CA+bRGFqEZ8hJzH58Yw4vSgmq+8kGXSpa3DF3nm1U6ow+sr3jQw@mail.gmail.com \
    --to=osteffen@redhat.com \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).