From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 154DAA09D9; Wed, 11 Nov 2020 13:22:32 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AC415137D; Wed, 11 Nov 2020 13:22:30 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id BCC4AF90 for ; Wed, 11 Nov 2020 13:22:28 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 3DA055C00CE; Wed, 11 Nov 2020 07:22:26 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 11 Nov 2020 07:22:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm2; bh= m8Q47Sk2hZrDkStstXWN7W3I+kv48WuHf3fM817R0xs=; b=sV+GfA1CMRnsAhux yFLxkBAjrGi9yS19uO6B+CbJPPuhJ1fY/TAnmKnVOv6KK4vSeIKDbwyZlPOtBXSg AhHk6x4bbzjWhfZBurOuZYPMlgf/E5QNa/3L9kopNA2Icl/ofvM/e1DzYeKk7/94 sGYqyXPUDYi30SQfOaDCwflGuOLv5QAcsJ1qeQpMfwqrXyTJxuaRod17LFv05MQN NqUcOj71SJHUigKGZmivxjJL9zEE9zhCJNp0yOe6BpqSogoSWxLBj7opouEgwSy/ V3PML2fvseMf1MPdV6nWKkN4fvnMiMcUPnDLAwy1K9PvQQ3toQa7SmrQzMfRZW/0 q7H/Gw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=m8Q47Sk2hZrDkStstXWN7W3I+kv48WuHf3fM817R0 xs=; b=gylZOw7G/ecupH00UtDSUSzsIRrUBAU3k2wdKPD13EGbE6u7yH4TxoW/3 TRF2v/Av5ikeCE/g7Ky3BKthDTODR5juW2l6asXpJBxx7MrmEohseIO/xmUg8ICd UIPJHXHjdm+Pe1c6gKRzffaygxUYy59SIXJXUtMpmW8oB/GNEZBqa/7bjHJcEuCP sROmKf2AXXPefKSzyRQJfjbqaQzjBFTXkWeU4hRcguRoS9mO6SwsrpMQ9v3t8H80 PaOeI3/g9EIIXFmV7T9bQY4CxDhjVjBSoiI+XsV1sZBCS7Wv36u+72Quyxg8BU1J VYQg2AmbEYnPsyAce1EciBzyXPuWA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudduledgudeglecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgjfhgggfgtsehtuf ertddttddvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghs sehmohhnjhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepudeggfdvfeduffdtfe eglefghfeukefgfffhueejtdetuedtjeeuieeivdffgeehnecukfhppeejjedrudefgedr vddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B00163280060; Wed, 11 Nov 2020 07:22:25 -0500 (EST) From: Thomas Monjalon To: luca.boccassi@gmail.com Cc: dev@dpdk.org Date: Wed, 11 Nov 2020 13:22:24 +0100 Message-ID: <4480256.CgzZVRB0LV@thomas> In-Reply-To: <20201111121626.156252-1-luca.boccassi@gmail.com> References: <20201028181557.3662981-1-luca.boccassi@gmail.com> <20201111121626.156252-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH dpdk-kmods v2] igb_uio: pass MODULE_CFLAGS in 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 11/11/2020 13:16, 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 > --- > v2: backported original commit instead of making a new one Applied with original commit date, and simpler explanation from the v1 because meson/make history is not relevant in this repo.