From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f49.google.com (mail-wm0-f49.google.com [74.125.82.49]) by dpdk.org (Postfix) with ESMTP id 872901D7; Tue, 1 May 2018 15:39:21 +0200 (CEST) Received: by mail-wm0-f49.google.com with SMTP id a8so17805436wmg.5; Tue, 01 May 2018 06:39:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=cqWWDRMmJraa3ufZjqYY5/8uUMCFs8tcwvQDZRYfdpw=; b=bgYyI9Hzz4M41TVVf0QfB5IRqMGmRPrxl1hAv6om7Fo57hk+oizThQVFk7EBwTqFki OyD9iyrt1JtxFJHhjT1e9auduGEW0FPB9eVoeLUK5pSwoDDrz1V1fWGLFEnf24W6ZJ+g QnKHwBfSOzWLkvGzwNBUyGcWHCiujjGtkDQN1oKeTZ0dLDhBKg6kxraOcyx3pf+y+lk4 vAx1lxcSf2yOEmm/LdR2W3Po5sD/BrLyFkllDKPO2cThr2k9ZtDZ5qh7BnXQq6KE56KQ dtv7Sghse6RsWHtZ+Z6kl5nNDr6EgJfqmS2MYc6Gmyf0zgdkMqdVwBGe+rUK1QuCjMl4 AEag== 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; bh=cqWWDRMmJraa3ufZjqYY5/8uUMCFs8tcwvQDZRYfdpw=; b=aA1WvOkL0ZDQnjudpQGOxgx+s3DExv2DApWQ8TU4QO8C6Kiy2T4q0nlAMTmXloIgOt 1YmWX2lNKwZncOOmnHJuqGHFbG1xAaqz4ERnCrklgKRjNtd1Itf+WHJgo3Sx6j+K3Y2O KHBFSofcm4bB668Vr4HVLL6/KCYO7Crzr2XRq1YMnhu44wR1bIwY+r2rBiYsk4bZ+W13 2ZD09CT/12sJny27XkWTBQlJxw5hXRLr4DInC+rkbkmwN7WkecvljXTMOs0o49TF2tNZ cXj4h3EYuN/hHh08A44WsgodLtz9e/2k4J7Fmoe2P4Z1ahrB7maqAp8GiSHxuOiKeo0i J6KA== X-Gm-Message-State: ALQs6tBAxkl8U0THkbkrPhgbqiD2AqFp/mRert17PqkqvpMLxSn4OUDd 9fSaEetTIgVSKoJOoMaLB5vF2bxZioo= X-Google-Smtp-Source: AB8JxZpJvO3oalI7T158IFgAM8Ce57boqlf3fpm3l2gDhR9dttcTNVFK3PMlloo3LFcUBc4fxai1QQ== X-Received: by 10.28.22.140 with SMTP id 134mr7861474wmw.53.1525181960884; Tue, 01 May 2018 06:39:20 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id m134sm11904530wmg.4.2018.05.01.06.39.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 May 2018 06:39:20 -0700 (PDT) From: luca.boccassi@gmail.com To: dev@dpdk.org Cc: bruce.richardson@intel.com, Luca Boccassi , stable@dpdk.org Date: Tue, 1 May 2018 14:39:07 +0100 Message-Id: <20180501133907.15310-1-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 Subject: [dpdk-stable] [PATCH] igb_uio: pass MODULE_CFLAGS in new Kbuild X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 May 2018 13:39:21 -0000 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 --- kernel/linux/igb_uio/Kbuild | 1 + 1 file changed, 1 insertion(+) 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 := $(MODULE_CFLAGS) obj-m := igb_uio.o -- 2.14.2