Relative Content

Tag Archive for linuxmakefilekbuild

Compile linux kernel with modules

I created a module in samples/my_module with Kconfig file and updated Makefile and Kconfig files in samples/. When I build kernel with my module marked as [*](so it is built-in) everything is ok and module is successfuly loaded during boot. But if I want it to be a module([M]), it does not appear anywhere.
Can I configure kernel to have my_module.ko somewhere in rootfs?