Re: Exporting ioctls from out-of-tree module to userspace

2014-07-17 Thread Daniel Hilst Selli
On 07/17/2014 04:06 AM, Anupam Kapoor wrote: > hi, > > in the older kernels (anything before the commit id mentioned below), > there is include/Kbuild, where you can do something like this: > > header-y += ../../quick-hacks/kernel-modules/mymodule/ > > and then do a 'make headers_install' from the

Re: Exporting ioctls from out-of-tree module to userspace

2014-07-17 Thread Anupam Kapoor
hi, in the older kernels (anything before the commit id mentioned below), there is include/Kbuild, where you can do something like this: header-y += ../../quick-hacks/kernel-modules/mymodule/ and then do a 'make headers_install' from the *source* tree, which seems to do the right thing. in new

Exporting ioctls from out-of-tree module to userspace

2014-07-16 Thread Daniel Hilst Selli
I write an out-of-tree module and now want to export its ioctls to userspace by installing a header that my modules includes, I was looking for how to do it but can't get it.. I was trying header-y from https://www.kernel.org/doc/Documentation/kbuild/makefiles.txt but got: make[1]: *** No rule