From patchwork Thu Sep 24 07:34:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Panu Matilainen X-Patchwork-Id: 7147 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 2F4538E79; Thu, 24 Sep 2015 09:34:37 +0200 (CEST) Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 48A7F8E71 for ; Thu, 24 Sep 2015 09:34:34 +0200 (CEST) Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id C3E0AAB123 for ; Thu, 24 Sep 2015 07:34:33 +0000 (UTC) Received: from dhcp195.koti.laiskiainen.org.com (vpn1-7-167.ams2.redhat.com [10.36.7.167]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t8O7YOAD024787 for ; Thu, 24 Sep 2015 03:34:31 -0400 From: Panu Matilainen To: dev@dpdk.org Date: Thu, 24 Sep 2015 10:34:04 +0300 Message-Id: In-Reply-To: References: In-Reply-To: References: X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 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 4b555de..6be67d0 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 } ###########################################