From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 0805B1041; Fri, 12 Jan 2018 19:27:33 +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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jan 2018 10:27:32 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.46,350,1511856000"; d="scan'208";a="23562738" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga001.jf.intel.com with ESMTP; 12 Jan 2018 10:27:30 -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 w0CIRUQk020088; Fri, 12 Jan 2018 18:27:30 GMT Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id w0CIRUwu008450; Fri, 12 Jan 2018 18:27:30 GMT Received: (from aburakov@localhost) by sivswdev01.ir.intel.com with LOCAL id w0CIRTVp008446; Fri, 12 Jan 2018 18:27:29 GMT From: Anatoly Burakov To: dev@dpdk.org Cc: Thomas Monjalon , maryam.tahhan@intel.com, stable@dpdk.org Date: Fri, 12 Jan 2018 18:27:29 +0000 Message-Id: <330d36c70a2fbf460f89c21ea86df8d1400323fb.1515781280.git.anatoly.burakov@intel.com> X-Mailer: git-send-email 1.7.0.7 In-Reply-To: <4a54e295890a75b513176c62f83f87b67817baa4.1515777134.git.anatoly.burakov@intel.com> References: <4a54e295890a75b513176c62f83f87b67817baa4.1515777134.git.anatoly.burakov@intel.com> Subject: [dpdk-stable] [PATCH v3] 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 18:27:34 -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 --- Notes: v3: add config option to common_base and set it to 'n' v2: use config option instead of depending on librte_ethdev app/Makefile | 2 +- config/common_base | 5 +++++ config/common_linuxapp | 1 + 3 files changed, 7 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_base b/config/common_base index e74febe..aca4e7b 100644 --- a/config/common_base +++ b/config/common_base @@ -805,6 +805,11 @@ CONFIG_RTE_APP_TEST=y CONFIG_RTE_APP_TEST_RESOURCE_TAR=n # +# Compile the procinfo application +# +CONFIG_RTE_PROC_INFO=n + +# # Compile the PMD test application # CONFIG_RTE_TEST_PMD=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