From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 5978871B5; Fri, 12 Jan 2018 15:17:18 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2018 06:17:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,349,1511856000"; d="scan'208";a="19585393" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 12 Jan 2018 06:17:16 -0800 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id w0CEHF7u010143; Fri, 12 Jan 2018 14:17:15 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id w0CEHFjL008979; Fri, 12 Jan 2018 14:17:15 GMT Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id w0CEHF9r008974; Fri, 12 Jan 2018 14:17:15 GMT From: Anatoly Burakov To: dev@dpdk.org Cc: maryam.tahhan@intel.com, stable@dpdk.org Date: Fri, 12 Jan 2018 14:17:15 +0000 Message-Id: X-Mailer: git-send-email 1.7.0.7 Subject: [dpdk-stable] [PATCH] app: fix proc_info app dependency X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Jan 2018 14:17:18 -0000 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 Signed-off-by: Anatoly Burakov --- app/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Makefile b/app/Makefile index 24c9067..d7fc26d 100644 --- a/app/Makefile +++ b/app/Makefile @@ -4,7 +4,9 @@ include $(RTE_SDK)/mk/rte.vars.mk 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 ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y) -- 2.7.4