From patchwork Thu Sep 24 07:50:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Panu Matilainen X-Patchwork-Id: 7151 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 22F2A8E7C; Thu, 24 Sep 2015 09:52:01 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id CC5FA8E6F for ; Thu, 24 Sep 2015 09:51:58 +0200 (CEST) Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id EA8DDC193789 for ; Thu, 24 Sep 2015 07:51:57 +0000 (UTC) Received: from dhcp195.koti.laiskiainen.org.com (vpn1-7-167.ams2.redhat.com [10.36.7.167]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8O7pqjD004719 for ; Thu, 24 Sep 2015 03:51:57 -0400 From: Panu Matilainen To: dev@dpdk.org Date: Thu, 24 Sep 2015 10:50:59 +0300 Message-Id: <9fd97e7f4a1bb49b6ad68021ffad1bcecc4738c7.1443080778.git.pmatilai@redhat.com> In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 Subject: [dpdk-dev] [PATCH 3/3] scripts: teach ABI validator about CONFIG_RTE_KNI_KMOD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The validator attempts to disable all kernel modules but since commit 36080ff96b0eb37a6da8c4fec1a2f8a57dfadf5b fails to do so for KNI, causing the build stage to fail if kernel headers are missing. With the introduction of CONFIG_RTE_KNI_KMOD, CONFIG_RTE_LIBRTE_KNI=n can eventually be dropped but leaving it around for now as its needed with pre-2.1 versions. Signed-off-by: Panu Matilainen --- scripts/validate-abi.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/validate-abi.sh b/scripts/validate-abi.sh index 12946d4..cbf9d7f 100755 --- a/scripts/validate-abi.sh +++ b/scripts/validate-abi.sh @@ -88,6 +88,7 @@ fixup_config() { sed -i -e"$ a\CONFIG_RTE_NEXT_ABI=n" config/defconfig_$TARGET sed -i -e"$ a\CONFIG_RTE_EAL_IGB_UIO=n" config/defconfig_$TARGET sed -i -e"$ a\CONFIG_RTE_LIBRTE_KNI=n" config/defconfig_$TARGET + sed -i -e"$ a\CONFIG_RTE_KNI_KMOD=n" config/defconfig_$TARGET } ###########################################