From: Anatoly Burakov Date: Fri, 12 Jan 2018 18:27:29 +0000 (+0000) Subject: app/procinfo: add compilation option in config X-Git-Tag: spdx-start~246 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7425a8fc5a3afc56d083fe21508efce1c6b0e45f;p=dpdk.git 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 --- 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