Skip to contentSkip to conversation

Buildroot, adding kernel module

Buildroot Peter Korsgaard 1 participant 1 message Jan 7, 2014 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"makowski" == makowski pawel <[email protected]> writes:

Forwarding to the buildroot list, please use buildroot at busybox.net in the future.

Quoted 19 lines

Hello everyone,
I'm trying to add a new kernel module to the /Buildroot/. In my understanding, the best way to that is to add it into the /Sample Kernel

Code /section in Kernel configuration. I performe following steps:
1. I put your example /mykmod.c/ file to //output/build/linux_xyz///samples/mykmod /directory.
2. I create Makefile for it: /obj-$(CONFIG_SAMPLE_MYKMOD) += mykmod.o/
3. I add the new section to /KConfig /in samples directory. When I run the /make linux-menuconfig/ a new module is visible. I checked it to the build,
and I see it builds.
I download Kernel image and RootFs to the target and I can't find the module file.
What could be wrong ?

--
Regards/Pozdrawiam
Pawe? Makowski

Signature · 1 line
Bye, Peter Korsgaard