[dpdk-dev] [PATCH dpdk-kmods] igb_uio: include MODULE_CFLAGS in Kbuild

Luca Boccassi luca.boccassi at gmail.com
Fri Oct 30 17:33:30 CET 2020


On Thu, 29 Oct 2020, 20:58 Thomas Monjalon, <thomas at monjalon.net> wrote:

> 28/10/2020 19:15, luca.boccassi at gmail.com:
> > From: Luca Boccassi <luca.boccassi at microsoft.com>
> >
> > Necessary to get build flags from DKMS.
> >
> > See:
> >
> > https://git.dpdk.org/dpdk/commit/?id=816d967717
> [...]
> > --- a/linux/igb_uio/Kbuild
> > +++ b/linux/igb_uio/Kbuild
> > @@ -1 +1,2 @@
> > +ccflags-y := $(MODULE_CFLAGS)
> >  obj-m := igb_uio.o
>
> Yes this patch was not migrated because I though it was referring
> to a DPDK-specific variable.
> So you mean MODULE_CFLAGS is from the kernel build system?
>

Yeah dkms uses it

>


More information about the dev mailing list