From 7425a8fc5a3afc56d083fe21508efce1c6b0e45f Mon Sep 17 00:00:00 2001 From: Anatoly Burakov Date: Fri, 12 Jan 2018 18:27:29 +0000 Subject: [PATCH] app/procinfo: add compilation option in config 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: stable@dpdk.org Signed-off-by: Anatoly Burakov --- 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 24c906759a..aa448277eb 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 3a2a8deabc..6b718c1b35 100644 --- a/config/common_base +++ b/config/common_base @@ -783,6 +783,11 @@ CONFIG_RTE_LIBRTE_PMD_VHOST=n 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 # diff --git a/config/common_linuxapp b/config/common_linuxapp index 74c7d64ec3..15c6961684 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.20.1