From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] app: fix proc_info app dependency Date: Fri, 12 Jan 2018 15:59:03 +0100 Message-ID: <1761335.2jqO9XcO2K@xps> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, maryam.tahhan@intel.com, stable@dpdk.org To: Anatoly Burakov Return-path: In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 12/01/2018 15:17, Anatoly Burakov: > proc_info app is compiled unconditionally on Linux, but it's > actually dependent on librte_ethdev library, which prevents > DPDK from building without librte_ethdev library enabled. > > Fixes: 22561383ea17 ("app: replace dump_cfg by proc_info") > Cc: maryam.tahhan@intel.com > Cc: stable@dpdk.org nit: please insert a blank line here > Signed-off-by: Anatoly Burakov > --- > DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd > -DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += proc_info > +ifeq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y) > +DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += proc_info > +endif > DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump What about pdump and testpmd? I guess a lot of things do not compile without ethdev, isn't it?