Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksandar Zivkovic <Aleksandar.Zivkovic@rt-rk.com>
To: buildroot@busybox.net
Subject: [Buildroot] Adding package that builds Kernel Module (*.ko) to Buildroot environment
Date: Thu, 04 Aug 2011 08:30:21 +0200	[thread overview]
Message-ID: <4E3A3C7D.8030801@rt-rk.com> (raw)

On request from Michael S. Zick question resend without attachment

Hi all,

I would like to add additional package to Buildroot that will build 
Linux kernel driver.
For that I need:
- dependency: build of this package mustn't be started before kernel 
source is available
- kernel source directory: currently, the best I know is: 
$(BASE_DIR)/build/linux-$(BR2_LINUX_KERNEL_VERSION)

I started with package approach but bumped to stated dependency problem. 
Next what I tried is to edit linux/linux.mk to include my driver source 
download, extract. build and install but not so familiar with Buildroot 
scripting...


Did somebody already done something similar? What is best approach? 
Examples are welcomed...

Regards,

Aleksandar Zivkovic

             reply	other threads:[~2011-08-04  6:30 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-04  6:30 Aleksandar Zivkovic [this message]
2011-08-04  7:45 ` [Buildroot] Adding package that builds Kernel Module (*.ko) to Buildroot environment Thomas Petazzoni
2011-08-04  8:40   ` Thomas De Schampheleire
2011-08-04 10:05   ` Aleksandar Zivkovic
  -- strict thread matches above, loose matches on Subject: below --
2015-07-09 23:05 Ron Schmitt
2015-07-10 23:07 ` Arnout Vandecappelle
2011-08-03 15:17 Aleksandar Zivkovic
2011-08-03 16:15 ` Michael S. Zick
2011-08-04  7:28 ` Thomas De Schampheleire

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=4E3A3C7D.8030801@rt-rk.com \
    --to=aleksandar.zivkovic@rt-rk.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