summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2019-03-06 16:22:40 +0000
committerThomas Monjalon <thomas@monjalon.net>2019-03-12 23:01:14 +0100
commit5fbc1d498f548026cfdcd63f28330d687761f2a3 (patch)
treeb43958d810fc45feb6db494b153bb6396154487f /config
parent742bde12f3bd008c2f06d744330436d8b1a56720 (diff)
downloaddpdk-next-eventdev-5fbc1d498f548026cfdcd63f28330d687761f2a3.zip
dpdk-next-eventdev-5fbc1d498f548026cfdcd63f28330d687761f2a3.tar.gz
dpdk-next-eventdev-5fbc1d498f548026cfdcd63f28330d687761f2a3.tar.xz
build/freebsd: rename macro BSDPAPP to FREEBSD
Rename the macro and all instances in DPDK code, but keep a copy of the old macro defined for legacy code linking against DPDK Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_bsdapp1
-rw-r--r--config/rte_config.h3
2 files changed, 4 insertions, 0 deletions
diff --git a/config/common_bsdapp b/config/common_bsdapp
index 3399246..456b394 100644
--- a/config/common_bsdapp
+++ b/config/common_bsdapp
@@ -5,6 +5,7 @@
CONFIG_RTE_EXEC_ENV="bsdapp"
CONFIG_RTE_EXEC_ENV_BSDAPP=y
+CONFIG_RTE_EXEC_ENV_FREEBSD=y
#
# FreeBSD contiguous memory driver settings
diff --git a/config/rte_config.h b/config/rte_config.h
index 9b2e813..1690f4d 100644
--- a/config/rte_config.h
+++ b/config/rte_config.h
@@ -22,6 +22,9 @@
#ifdef RTE_EXEC_ENV_LINUX
#define RTE_EXEC_ENV_LINUXAPP 1
#endif
+#ifdef RTE_EXEC_ENV_FREEBSD
+#define RTE_EXEC_ENV_BSDAPP 1
+#endif
/****** library defines ********/