[CMake] Building linux kernel module with Cmake
Hendrik Sattler
post at hendrik-sattler.de
Thu Nov 1 05:29:34 EDT 2007
Am Donnerstag 01 November 2007 schrieb Suhas Jain:
> I am a newbie with cmake and am trying to build a Linux device driver
> with this utility.
>
> I have tried this utility with building applications. It works fine.
> But, I am not able to compile the kernel modules.
>
> I have a makefile for this driver which uses KBuild for compiling the
> driver and generates a .ko file.
>
> Can anybody please help me?
I don't see the point using cmake for such a task. Using Kbuild with a _very_
short Makefile (that never changes) and one Kbuild file, it's already simple
enough. There is also no cross-platform support needed (it's going to be a
linux kernel module anyway).
HS
More information about the CMake
mailing list