From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [dpdk-stable] [PATCH v2] igb_uio: pass MODULE_CFLAGS in new Kbuild Date: Tue, 01 May 2018 17:11:13 +0200 Message-ID: <5178932.SHFsUpn4lB@xps> References: <20180501133907.15310-1-luca.boccassi@gmail.com> <20180501135033.16164-1-luca.boccassi@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: stable@dpdk.org, dev@dpdk.org, bruce.richardson@intel.com To: luca.boccassi@gmail.com Return-path: In-Reply-To: <20180501135033.16164-1-luca.boccassi@gmail.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 01/05/2018 15:50, luca.boccassi@gmail.com: > From: Luca Boccassi > > 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 > Acked-by: Bruce Richardson Applied, thanks