[Buildroot] Compile kernel module within buildroot package

Stefan Peter st3fanp3t3r at gmail.com
Tue Dec 1 11:41:56 UTC 2015


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




More information about the buildroot mailing list