[ovs-dev] [PATCH] kbuild: Include external modules compile flags

David Ahern dsahern at gmail.com
Fri Feb 21 17:43:12 UTC 2020


On 2/5/20 3:48 PM, Gregory Rose wrote:
> 
> I found a way to make this work on the openvswitch out of tree kernel
> module.  KCFLAGS
> doesn't work because it is added at the end of the gcc command line and
> we need to
> add a '-include <file>' directive so that the include file comes
> *before* all other include
> files.  I fix this by inserting the '-include <file>' command line
> option to the beginning
> of our own Kbuild NOSTDINC variable.

Hi Greg:

Thanks for chasing this down. Are you going to commit the change to ovs
master?

Thanks,
David



More information about the dev mailing list