Re: staging: where to put system-wide includes

From: Greg KH
Date: Thu Oct 08 2009 - 11:04:15 EST


On Thu, Oct 08, 2009 at 01:28:18PM +0200, Pavel Machek wrote:
> Hi!
>
> In staging, I need some includes that will become "system-wide" at the
> end.
>
> Is it acceptable to create drivers/staging/include/linux (and
> friends), and then use -I magic to include those headers?

No, keep them in the subdir for the drivers you are adding please and
reference them by the location directly, no -I magic.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/