From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 9DA83A494; Fri, 12 Jan 2018 18:49:43 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2018 09:49:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,350,1511856000"; d="scan'208";a="23554330" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 12 Jan 2018 09:49:40 -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 w0CHneYg009363; Fri, 12 Jan 2018 17:49:40 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id w0CHneIP022908; Fri, 12 Jan 2018 17:49:40 GMT Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id w0CHndFK022904; Fri, 12 Jan 2018 17:49:39 GMT From: Anatoly Burakov To: dev@dpdk.org Cc: Thomas Monjalon , maryam.tahhan@intel.com, stable@dpdk.org Date: Fri, 12 Jan 2018 17:49:39 +0000 Message-Id: <4a54e295890a75b513176c62f83f87b67817baa4.1515777134.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: References: Subject: [dpdk-stable] [PATCH v2] app/procinfo: add compilation option in config file 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 17:49:44 -0000 Unlike every other DPDK application's compilation, proc_info's compilation cannot be turned off on Linux. Fix it by adding a config option to base linuxapp config. 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 | 2 +- config/common_linuxapp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Makefile b/app/Makefile index 24c9067..aa44827 100644 --- a/app/Makefile +++ b/app/Makefile @@ -4,7 +4,7 @@ include $(RTE_SDK)/mk/rte.vars.mk DIRS-$(CONFIG_RTE_TEST_PMD) += test-pmd -DIRS-$(CONFIG_RTE_EXEC_ENV_LINUXAPP) += proc_info +DIRS-$(CONFIG_RTE_PROC_INFO) += proc_info DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += pdump ifeq ($(CONFIG_RTE_LIBRTE_CRYPTODEV),y) diff --git a/config/common_linuxapp b/config/common_linuxapp index 74c7d64..15c6961 100644 --- a/config/common_linuxapp +++ b/config/common_linuxapp @@ -50,3 +50,4 @@ CONFIG_RTE_LIBRTE_AVP_PMD=y CONFIG_RTE_LIBRTE_NFP_PMD=y CONFIG_RTE_LIBRTE_POWER=y CONFIG_RTE_VIRTIO_USER=y +CONFIG_RTE_PROC_INFO=y -- 2.7.4