]> git.droids-corp.org - dpdk.git/commitdiff
app/procinfo: add compilation option in config
authorAnatoly Burakov <anatoly.burakov@intel.com>
Fri, 12 Jan 2018 18:27:29 +0000 (18:27 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Jan 2018 18:42:01 +0000 (19:42 +0100)
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 <anatoly.burakov@intel.com>
app/Makefile
config/common_base
config/common_linuxapp

index 24c906759ad7585e374aa742c7814340af79b2af..aa448277ebb2b6dd424a09f446b8afed37cd24ed 100644 (file)
@@ -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)
index 3a2a8deabc32431e964d7f31ee9eb45289db3a8a..6b718c1b356c6863f28de5c3ac58f7ac8d65ef68 100644 (file)
@@ -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
 #
index 74c7d64ec3ac622b30eff3cb52bf438174f7a45e..15c69616846b2f4f1fb5919f4c1c88866b50df3c 100644 (file)
@@ -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