Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Auto loading out of the tree device driver using UDEV
Date: Tue, 26 May 2015 16:40:44 +0200	[thread overview]
Message-ID: <20150526164044.77ac3996@free-electrons.com> (raw)
In-Reply-To: <851200312.2153086.1432638360110.JavaMail.yahoo@mail.yahoo.com>

Dear Tal Lubko,

On Tue, 26 May 2015 11:06:00 +0000 (UTC), Tal Lubko wrote:

> I'm trying to get an?out of the tree device driver?to be auto loaded
> when system starts using UDEV.I've managed to do so if I run depmod
> on target but I don't know how to do that on the host when building
> the file system.I'm not even sure that depmod is the correct way to
> do that.

If your out of tree driver is using the kernel build system, it should
already be doing the depmod invocation.

If it's not using the kernel build system, then you can invoke depmod
manually, like the nvidia-driver package is doing in Buildroot:

  $(HOST_DIR)/sbin/depmod -a -b $(TARGET_DIR) $(LINUX_VERSION_PROBED)

But really, to give you more details, we need to know which out of tree
driver we're talking about, see how it has been packaged in Buildroot,
and where it is installed in the root filesystem.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

      parent reply	other threads:[~2015-05-26 14:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-26 11:06 [Buildroot] Auto loading out of the tree device driver using UDEV Tal Lubko
2015-05-26 11:30 ` Lionel Orry
2015-05-26 14:40 ` Thomas Petazzoni [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=20150526164044.77ac3996@free-electrons.com \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /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