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 01F20A09D9; Wed, 11 Nov 2020 13:16:35 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 41A35F64; Wed, 11 Nov 2020 13:16:34 +0100 (CET) Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by dpdk.org (Postfix) with ESMTP id 431D2DED for ; Wed, 11 Nov 2020 13:16:33 +0100 (CET) Received: by mail-wr1-f66.google.com with SMTP id 33so2316140wrl.7 for ; Wed, 11 Nov 2020 04:16:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4ZsVwNvmXjl2Id8Ok1ZkHo/aUs1v6ZfjnqmRl8sssTE=; b=ON2ncF3AkRlgSGQ/01ZkFYLBE1vlokLlp3IzmchKRUtAQ+AUPdKdY/cCknmiupAs7Y ycn6aJC8uK+IPjOb7dEhA1b834F9RInjaPRSo+5G+ha/MQPs5Bo60Vh5odvO30L+s5vN V3KRYocB0g1N/etHiwS4nrY/3Uxm69Ieyv0ofUCpd56WmbXivnCI7R5JyVt67eeyRpgr Veiojuw+f1k22JSnG5EZ82o/VomydFVKATMAz4tJwv9HuFp/WMRKhQ+p9Bd0xfWSBbe/ HrU55Rz1LECVPpoN6omXVrj77ZDhKw8iN6HLsj2jTU8DEh+7pARDBLwvvUe818RIPqu/ I+1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4ZsVwNvmXjl2Id8Ok1ZkHo/aUs1v6ZfjnqmRl8sssTE=; b=p2etb+4m+X7cE1dalF/rHswqFdpbYoiYDSNWMHQ0E0gnwxFaQRBzR4jTPupMze9njb KPoiPPSDpH9RIGvbVCxyJfLJIQ/LMDvHTBs3zoFW/93EW3dGUfvU+KuEeTVSSxhyq/8I UmWSGWiQtCkBfrqgfCMQYuf73WUn3Z3uUh6X3RHWhv6gJUuNlVnnrxzlcsGSClPFJgza WDCPvvpkQVql5rxTR+kOltE1kNFlF55lZV8nqrDhOav+QA53B9QyKk7ur2rvbj1LaC8/ SqjqPGa6cVJQUa+Ch8eDVCH7FWWJQudC2cl0jUl8h3cK0mOCeZuT584lb3EWLtJ9dUyR zRdg== X-Gm-Message-State: AOAM531Lf48w9DhZpa8JooFx0qQPbkE13GKObD4d9XMKiZ03UVbSM48S /bimpv5Nq+wXgruPf3Nu8LL/MaO/BFjmece7 X-Google-Smtp-Source: ABdhPJwVWpCmHgX7QJdIJJ7N4XsQErTMm9Rsy0e45gu4NcJBaJuBOJx5gTUr8I3TzOWU8INBNhK4Aw== X-Received: by 2002:a5d:4a07:: with SMTP id m7mr28365386wrq.316.1605096991567; Wed, 11 Nov 2020 04:16:31 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id h62sm2239093wrh.82.2020.11.11.04.16.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 04:16:30 -0800 (PST) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: thomas@monjalon.net Date: Wed, 11 Nov 2020 12:16:26 +0000 Message-Id: <20201111121626.156252-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201028181557.3662981-1-luca.boccassi@gmail.com> References: <20201028181557.3662981-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [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" 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 linux/igb_uio/Kbuild | 1 + 1 file changed, 1 insertion(+) 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 -- 2.27.0