Re: make headers_install for out-of-tree modules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Le mercredi 07 octobre 2015 à 10:51 -0300, Daniel. a écrit :
> 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?
> 

I had the same expectation and it was a sad day when I found myself
having to do it manually in the out of tree makefile, having to handle
__user annotations in particular, as it wasn't possible to call
scripts/headers_install.sh as scripts/unifdef.c wasn't compiled and
available in the various kernel build environment provided by
distribution packages.

PS: please, don't top post reply, thanks.

> 2015-10-07 10:46 GMT-03:00 Daniel. <danielhilst@xxxxxxxxx>:
> > 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?


Regards.

-- 
Yann Droneaud
OPTEYA


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux