Re: [dpdk-dev] [PATCH] config: fix kni build

2020-10-20 Thread David Marchand
On Tue, Oct 20, 2020 at 12:03 PM David Marchand wrote: > > On Tue, Oct 20, 2020 at 11:19 AM Bruce Richardson > wrote: > > > > When building kernel modules such as kni, the "config" directory is not > > passed as a standard path in the EXTRA_CFLAGS value, meaning that the > > rte_compatibility_def

Re: [dpdk-dev] [PATCH] config: fix kni build

2020-10-20 Thread David Marchand
On Tue, Oct 20, 2020 at 11:19 AM Bruce Richardson wrote: > > When building kernel modules such as kni, the "config" directory is not > passed as a standard path in the EXTRA_CFLAGS value, meaning that the > rte_compatibility_defines.h is not found from rte_config.h. However, since > both headers a

[dpdk-dev] [PATCH] config: fix kni build

2020-10-20 Thread Bruce Richardson
When building kernel modules such as kni, the "config" directory is not passed as a standard path in the EXTRA_CFLAGS value, meaning that the rte_compatibility_defines.h is not found from rte_config.h. However, since both headers are in the same directory, we can just use quotes rather than angle-b