Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Peter <st3fanp3t3r@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Compile kernel module within buildroot package
Date: Tue, 1 Dec 2015 12:41:56 +0100	[thread overview]
Message-ID: <565D8784.5000403@gmail.com> (raw)
In-Reply-To: <20151201084906.GA4026@arthur-bzh>

Dear Arthur LAMBERT,

Am 01.12.2015 um 09:49 schrieb Arthur LAMBERT:
> Le Monday 30 Nov 2015 ? 17:24:58 (+0100), Thomas Petazzoni a ?crit :
>> Dear Arthur LAMBERT,
>>
> 
> Hi Thomas,
> 
>> On Thu, 19 Nov 2015 19:36:53 +0100, Arthur LAMBERT wrote:
>>
>>> I am currently using the 2015.08 version of buildroot. Kernel module compilation
>>> is broken :
>>
>> This problem has been fixed in 2015.08.1, you should upgrade to this
>> version (which has just three commits on top of 2015.08), or
>> alternatively backport
>>
>>   http://git.buildroot.net/buildroot/commit/?h=2015.08.x&id=16768877e324f6e3e1291613ae5db9af0da5a2bf
>>
>> I was able to reproduce your problem on 2015.08, and with just this
>> commit applied, lttng-modules could be built successfully.
> 
> I already found this patch. The compilation issue is fixed thanks to this commit.
> But I am always not able to get a ko file at the end of the compilation process.
> Even with the master branch.

You need to enable tracing in the kernel configuration in order for
lttng to be able to produce the kernel modules. See the help text of the
lttng-modules package for further details.

> 
> Process to run the test :
> 
> * git checkout 2015.08.1
> * git checkout -f
> * make distclean
> * make wandboard_defconfig (I am using this defconfig for my test)
> * enable lttng-modules through make menuconfig
> * make lttng-modules
> 
> Check ko file in output/target, output/builf/lttng-modules-X, output/build/linux-X
>  => no lttng kernel module file found.

They will show up in
output/target/lib/modules/3.14.28_1.0.0_ga-wandboard/extra/

With kind regards

Stefan Peter

  reply	other threads:[~2015-12-01 11:41 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-19 18:36 [Buildroot] Compile kernel module within buildroot package Arthur LAMBERT
2015-11-30 13:45 ` Arthur Lambert
2015-11-30 16:24 ` Thomas Petazzoni
2015-12-01  8:49   ` Arthur LAMBERT
2015-12-01 11:41     ` Stefan Peter [this message]
2015-12-02 14:35   ` Arthur LAMBERT
2015-12-09 11:50   ` Arthur LAMBERT

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=565D8784.5000403@gmail.com \
    --to=st3fanp3t3r@gmail.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