summaryrefslogtreecommitdiff
path: root/examples/ethtool
diff options
context:
space:
mode:
authorThomas Monjalon <thomas@monjalon.net>2018-06-06 15:50:27 +0200
committerThomas Monjalon <thomas@monjalon.net>2018-07-12 09:48:12 +0200
commited3077c16557e40e1967bed146eed3023b6cea5f (patch)
tree4e8ba4f695b7bebb49bd1c2940384e0391c5eb9b /examples/ethtool
parent6bf9f604bc7d320536a2a344f77a89c05a731f3c (diff)
downloaddpdk-ed3077c16557e40e1967bed146eed3023b6cea5f.zip
dpdk-ed3077c16557e40e1967bed146eed3023b6cea5f.tar.gz
dpdk-ed3077c16557e40e1967bed146eed3023b6cea5f.tar.xz
examples: make Linux environment check consistent
Some Makefiles are using CONFIG_RTE_EXEC_ENV and others are using CONFIG_RTE_EXEC_ENV_LINUXAPP. Use the latter one for consistency. We could remove CONFIG_RTE_EXEC_ENV later if considered useless. Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Diffstat (limited to 'examples/ethtool')
-rw-r--r--examples/ethtool/Makefile2
-rw-r--r--examples/ethtool/lib/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/ethtool/Makefile b/examples/ethtool/Makefile
index 2b40b4b..3d9d4f0 100644
--- a/examples/ethtool/Makefile
+++ b/examples/ethtool/Makefile
@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
-ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp")
+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
$(info This application can only operate in a linuxapp environment, \
please change the definition of the RTE_TARGET environment variable)
else
diff --git a/examples/ethtool/lib/Makefile b/examples/ethtool/lib/Makefile
index 2576910..6eaa640 100644
--- a/examples/ethtool/lib/Makefile
+++ b/examples/ethtool/lib/Makefile
@@ -10,7 +10,7 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
-ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp")
+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUXAPP),y)
$(error This application can only operate in a linuxapp environment, \
please change the definition of the RTE_TARGET environment variable)
endif