make headers_install for out-of-tree modules

Daniel. danielhilst at gmail.com
Wed Oct 7 09:51:25 EDT 2015


Uhh, as I see from docs, this isn't supported,

--- 2.3 Targets

When building an external module, only a subset of the "make"
targets are available.
>From https://www.kernel.org/doc/Documentation/kbuild/modules.txt

So, how can I export ioctl calls defined by an out-of-tree module?

2015-10-07 10:46 GMT-03:00 Daniel. <danielhilst at gmail.com>:
> Hi all,
>
> I'm trying  to install headers from out-of-tree module. I've writed
> this[1] Makefile. I have Kbuild files with header-y tokens poiting for
> propper folders and files. When I run "make headers_install" I got
> this[2] error message,
>
> [1] http://pastebin.com/9f3kYT8k
> [2] http://pastebin.com/yfi69nUi
>
> Any idea?
>
> Best regards,
>
> --
> "Do or do not. There is no try"
>   Yoda Master



-- 
"Do or do not. There is no try"
  Yoda Master



More information about the Kernelnewbies mailing list