UAPI headers in staging drivers?

Greg KH gregkh at linuxfoundation.org
Mon Jun 2 23:09:34 UTC 2014


On Mon, Jun 02, 2014 at 04:00:28PM -0700, Mitchel Humpherys wrote:
> What's the protocol for UAPI headers in staging drivers? Specifically,
> I'm wondering how people usually install those headers. For example,
> there are a bunch of Android UAPI headers under
> drivers/staging/android/uapi which currently end up at
> <INSTALL_HDR_PATH>/drivers with a call to `make headers_install'. All
> other UAPI headers end up at <INSTALL_HDR_PATH>/usr so getting at the
> staging ones requires some special handling in the "outer" build
> system...
> 
> To get the staging UAPI headers installed to <INSTALL_HDR_PATH>/usr like
> the rest of the UAPI headers, we're currently running with something
> like this in our tree:

Why not spend the time and effort to get these drivers _out_ of the
staging tree instead of crazy work-arounds like this?

thanks,

greg k-h


More information about the devel mailing list