exporting kernel headers via the include/uapi directory
Robert P. J. Day
rpjday at crashcourse.ca
Fri May 27 10:56:45 EDT 2016
On Fri, 27 May 2016, Bjørn Mork wrote:
> "Robert P. J. Day" <rpjday at crashcourse.ca> writes:
>
> > while i'm here, some pedantry ... what is the point of adding a
> > header file somewhere under include/uapi/<somedir> without
> > *immediately* adding it to the Kbuild file so that it's exported?
>
> I don't know the answer to that. But having done this once, I can
> answer why *I* did it: Ignorance.
>
> I didn't realize that I had to update the Kbuild file, but wrongly
> assumed that creating a file somewhere in include/uapi was enough.
> Maybe that's the reason for most of these errors? Some automatic
> check, or maybe even automatic fix, would be nice. Should be pretty
> easy to do.
unless there really is some reason to not do those two things at
the same time, but for the life of me, i can't imagine what it is.
rday
--
========================================================================
Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca
Twitter: http://twitter.com/rpjday
LinkedIn: http://ca.linkedin.com/in/rpjday
========================================================================
More information about the Kernelnewbies
mailing list