summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2018-05-01 14:50:33 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-05-01 16:46:22 +0200
commit816d967717446033d3a9735d60735fffef6d20d5 (patch)
tree5973bf1903aa30be0be8be60288deead1982a43f /kernel
parent211992f3b7df5d6d8f1dbefc48bc37a6d5398fbc (diff)
downloaddpdk-816d967717446033d3a9735d60735fffef6d20d5.zip
dpdk-816d967717446033d3a9735d60735fffef6d20d5.tar.gz
dpdk-816d967717446033d3a9735d60735fffef6d20d5.tar.xz
igb_uio: pass MODULE_CFLAGS in Kbuild
With the legacy build system MODULE_CFLAGS can be set to pass compiler flags specific for the kernel modules builds. This is used currently by Ubuntu and Debian. Set ccflags-y in the Kbuild to achieve the same result with Meson, and to keep backward compatbility with older scripts. Fixes regression in Ubuntu/Debian when the Kbuild is included in the DKMS source package, as DKMS will pick it up silently by default if present, causing the MODULE_CFLAGS to be ignored. Fixes: a52f4574f798 ("igb_uio: build with meson") Cc: stable@dpdk.org Signed-off-by: Luca Boccassi <bluca@debian.org> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/linux/igb_uio/Kbuild1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/linux/igb_uio/Kbuild b/kernel/linux/igb_uio/Kbuild
index 98c98fe..3ab85c4 100644
--- a/kernel/linux/igb_uio/Kbuild
+++ b/kernel/linux/igb_uio/Kbuild
@@ -1 +1,2 @@
+ccflags-y := $(MODULE_CFLAGS)
obj-m := igb_uio.o