From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harry van Haaren Subject: [PATCH 4/7] event/sw: makefiles and config Date: Wed, 16 Nov 2016 18:00:04 +0000 Message-ID: <1479319207-130646-5-git-send-email-harry.van.haaren@intel.com> References: <1479319207-130646-1-git-send-email-harry.van.haaren@intel.com> Cc: Harry van Haaren , Gage Eads , Bruce Richardson To: dev@dpdk.org Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 5C3ED5680 for ; Wed, 16 Nov 2016 19:00:25 +0100 (CET) In-Reply-To: <1479319207-130646-1-git-send-email-harry.van.haaren@intel.com> 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" This commit modifies the existing Makefiles to have the sw_evdev instance compiled. At this point in the patchset, the infrastructure and sw_evdev pmd is compiled, which means that it can be instantiated and used successfully. Signed-off-by: Gage Eads Signed-off-by: Bruce Richardson Signed-off-by: Harry van Haaren --- config/common_base | 6 ++++++ drivers/event/Makefile | 2 ++ mk/rte.app.mk | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/config/common_base b/config/common_base index a0a07f6..862178a 100644 --- a/config/common_base +++ b/config/common_base @@ -417,6 +417,12 @@ CONFIG_RTE_LIBRTE_EVENTDEV=y CONFIG_RTE_LIBRTE_EVENTDEV_DEBUG=n # +# Compile a pure sw event device instance +# +CONFIG_RTE_LIBRTE_PMD_EVDEV_SW=y +CONFIG_RTE_LIBRTE_PMD_EVDEV_SW_DEBUG=n + +# # Compile librte_ring # CONFIG_RTE_LIBRTE_RING=y diff --git a/drivers/event/Makefile b/drivers/event/Makefile index 93f90eb..b9c37d7 100644 --- a/drivers/event/Makefile +++ b/drivers/event/Makefile @@ -31,4 +31,6 @@ include $(RTE_SDK)/mk/rte.vars.mk +DIRS-$(CONFIG_RTE_LIBRTE_PMD_EVDEV_SW) += sw + include $(RTE_SDK)/mk/rte.subdir.mk diff --git a/mk/rte.app.mk b/mk/rte.app.mk index 716725a..2fce863 100644 --- a/mk/rte.app.mk +++ b/mk/rte.app.mk @@ -148,6 +148,10 @@ _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += -lrte_pmd_zuc _LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_ZUC) += -L$(LIBSSO_ZUC_PATH)/build -lsso_zuc endif # CONFIG_RTE_LIBRTE_CRYPTODEV +ifeq ($(CONFIG_RTE_LIBRTE_EVENTDEV),y) +_LDLIBS-$(CONFIG_RTE_LIBRTE_PMD_EVDEV_SW) += -lrte_pmd_evdev_sw +endif # CONFIG_RTE_LIBRTE_EVENTDEV + endif # !CONFIG_RTE_BUILD_SHARED_LIBS _LDLIBS-y += --no-whole-archive -- 2.7.4