summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-03-06 16:22:39 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-03-12 17:31:22 +0100
commit742bde12f3bd008c2f06d744330436d8b1a56720 (patch)
treeaf30fda2aa2cda1fb00e6b0740ba11f1e4ce6469 /config
parent91d7846ce68d7c637cd7efde751f5276475aa9c8 (diff)
downloaddpdk-draft-windows-742bde12f3bd008c2f06d744330436d8b1a56720.zip
dpdk-draft-windows-742bde12f3bd008c2f06d744330436d8b1a56720.tar.gz
dpdk-draft-windows-742bde12f3bd008c2f06d744330436d8b1a56720.tar.xz
build/linux: rename macro from LINUXAPP to LINUX
Rename the macro to make things shorter and more comprehensible. For both meson and make builds, keep the old macro around for backward compatibility. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_linuxapp1
-rw-r--r--config/rte_config.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/config/common_linuxapp b/config/common_linuxapp
index 6c1c8d0..7533427 100644
--- a/config/common_linuxapp
+++ b/config/common_linuxapp
@@ -4,6 +4,7 @@
#include "common_base"
CONFIG_RTE_EXEC_ENV="linuxapp"
+CONFIG_RTE_EXEC_ENV_LINUX=y
CONFIG_RTE_EXEC_ENV_LINUXAPP=y
CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=y
diff --git a/config/rte_config.h b/config/rte_config.h
index 7606f5d..9b2e813 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -18,6 +18,11 @@
#include <rte_build_config.h>
+/* legacy defines */
+#ifdef RTE_EXEC_ENV_LINUX
+#define RTE_EXEC_ENV_LINUXAPP 1
+#endif
+
/****** library defines ********/
/* compat defines */