From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hemant Agrawal Subject: [RFC PATCH 2/2] config: enable compilation of raw device library Date: Wed, 8 Nov 2017 23:10:54 +0530 Message-ID: <1510162854-10171-3-git-send-email-hemant.agrawal@nxp.com> References: <1510162854-10171-1-git-send-email-hemant.agrawal@nxp.com> Mime-Version: 1.0 Content-Type: text/plain Cc: , , To: Return-path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0079.outbound.protection.outlook.com [104.47.38.79]) by dpdk.org (Postfix) with ESMTP id 833921B2AF for ; Wed, 8 Nov 2017 18:41:52 +0100 (CET) In-Reply-To: <1510162854-10171-1-git-send-email-hemant.agrawal@nxp.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Hemant Agrawal --- config/common_base | 7 +++++++ lib/Makefile | 3 +++ 2 files changed, 10 insertions(+) diff --git a/config/common_base b/config/common_base index 34f04a9..30ab741 100644 --- a/config/common_base +++ b/config/common_base @@ -793,6 +793,13 @@ CONFIG_RTE_LIBRTE_VHOST_NUMA=n CONFIG_RTE_LIBRTE_VHOST_DEBUG=n # +# Compile raw device support +# EXPERIMENTAL: API may change without prior notice +# +CONFIG_RTE_LIBRTE_RAWDEV=y +CONFIG_RTE_LIBRTE_RAWDEV_DEBUG=n + +# # Compile vhost PMD # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled. # diff --git a/lib/Makefile b/lib/Makefile index dc4e8df..4c60f30 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -126,4 +126,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni endif DEPDIRS-librte_kni := librte_eal librte_mempool librte_mbuf librte_ether +DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += librte_rawdev +DEPDIRS-librte_rawdev := librte_eal librte_mbuf librte_ether librte_cryptodev + include $(RTE_SDK)/mk/rte.subdir.mk -- 2.7.4