Message ID | 20201028181557.3662981-1-luca.boccassi@gmail.com (mailing list archive) |
---|---|
State | Superseded, archived |
Delegated to: | Thomas Monjalon |
Headers | show |
Series | [dpdk-kmods] igb_uio: include MODULE_CFLAGS in Kbuild | expand |
Context | Check | Description |
---|---|---|
ci/Intel-compilation | fail | apply issues |
ci/checkpatch | success | coding style OK |
28/10/2020 19:15, luca.boccassi@gmail.com: > From: Luca Boccassi <luca.boccassi@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?
On Thu, 29 Oct 2020, 20:58 Thomas Monjalon, <thomas@monjalon.net> wrote: > 28/10/2020 19:15, luca.boccassi@gmail.com: > > From: Luca Boccassi <luca.boccassi@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 >
diff --git a/linux/igb_uio/Kbuild b/linux/igb_uio/Kbuild index 98c98fe..3ab85c4 100644 --- a/linux/igb_uio/Kbuild +++ b/linux/igb_uio/Kbuild @@ -1 +1,2 @@ +ccflags-y := $(MODULE_CFLAGS) obj-m := igb_uio.o