From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id AA8A7DED; Tue, 1 May 2018 15:44:23 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 01 May 2018 06:44:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,351,1520924400"; d="scan'208";a="38388824" Received: from irsmsx104.ger.corp.intel.com ([163.33.3.159]) by orsmga006.jf.intel.com with ESMTP; 01 May 2018 06:44:21 -0700 Received: from irsmsx103.ger.corp.intel.com ([169.254.3.179]) by IRSMSX104.ger.corp.intel.com ([169.254.5.96]) with mapi id 14.03.0319.002; Tue, 1 May 2018 14:44:20 +0100 From: "Richardson, Bruce" To: "luca.boccassi@gmail.com" , "dev@dpdk.org" CC: Luca Boccassi , "stable@dpdk.org" Thread-Topic: [PATCH] igb_uio: pass MODULE_CFLAGS in new Kbuild Thread-Index: AQHT4VHU9y69uMMpbUGuB4tjFNru6aQa4kAg Date: Tue, 1 May 2018 13:44:19 +0000 Message-ID: <59AF69C657FD0841A61C55336867B5B0723789AB@IRSMSX103.ger.corp.intel.com> References: <20180501133907.15310-1-luca.boccassi@gmail.com> In-Reply-To: <20180501133907.15310-1-luca.boccassi@gmail.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMjcyNmQ1NGYtZGM4NC00ZWY1LWE2OTAtYWUxNDg5YWMxODM3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjIuNS4xOCIsIlRydXN0ZWRMYWJlbEhhc2giOiI1b1czanROMFVOSE42K1lnUWVpcUxzWU9naWNmR3gySm9DaW4wZkh3TDFhNmN0YkR0VGJLR0JvQ01iOVM4UFA3In0= x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.200.100 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] igb_uio: pass MODULE_CFLAGS in new Kbuild X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2018 13:44:25 -0000 > -----Original Message----- > From: luca.boccassi@gmail.com [mailto:luca.boccassi@gmail.com] > Sent: Tuesday, May 1, 2018 2:39 PM > To: dev@dpdk.org > Cc: Richardson, Bruce ; Luca Boccassi > ; stable@dpdk.org > Subject: [PATCH] igb_uio: pass MODULE_CFLAGS in new Kbuild >=20 > From: Luca Boccassi >=20 > 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. >=20 > 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. >=20 > Fixes: a52f4574f798 ("igb_uio: build with meson") > Cc: stable@dpdk.org > --- > kernel/linux/igb_uio/Kbuild | 1 + > 1 file changed, 1 insertion(+) >=20 > diff --git a/kernel/linux/igb_uio/Kbuild b/kernel/linux/igb_uio/Kbuild > index 98c98fe52..3ab85c411 100644 > --- a/kernel/linux/igb_uio/Kbuild > +++ b/kernel/linux/igb_uio/Kbuild > @@ -1 +1,2 @@ > +ccflags-y :=3D $(MODULE_CFLAGS) > obj-m :=3D igb_uio.o Acked-by: Bruce Richardson