]> git.droids-corp.org - dpdk.git/commitdiff
examples: make Linux environment check consistent
authorThomas Monjalon <thomas@monjalon.net>
Wed, 6 Jun 2018 13:50:27 +0000 (15:50 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 07:48:12 +0000 (09:48 +0200)
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>
13 files changed:
examples/ethtool/Makefile
examples/ethtool/lib/Makefile
examples/ip_pipeline/Makefile
examples/kni/Makefile
examples/l3fwd-power/Makefile
examples/multi_process/client_server_mp/mp_server/Makefile
examples/netmap_compat/bridge/Makefile
examples/qos_sched/Makefile
examples/server_node_efd/server/Makefile
examples/tep_termination/Makefile
examples/vhost/Makefile
examples/vhost_crypto/Makefile
examples/vhost_scsi/Makefile

index 2b40b4b617fd3b3e7be840c73b06afb70c4df9fe..3d9d4f06eb4dc8471783774de01b92491b961d48 100644 (file)
@@ -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
index 2576910f86d271764291d73868e3dbb629a07be8..6eaa640bc6d0ff19fc4899d2f788a9fc6fbb94ba 100644 (file)
@@ -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
index 11d2b35da9f2b3114402577d3542d096c40fb76e..3fb98ce3e5b2b1d64c25e2825bac1322883d275a 100644 (file)
@@ -67,7 +67,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)
 all:
index 562dc2741267260d2456e3a9dac361fc02484456..7e19d2e2a04fd69d799cbcc28f2e8fc96529f9c9 100644 (file)
@@ -48,7 +48,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
index 390b7d6b6d3c923f393e31eba12a2d0cd1cd6495..f2fe7463bc0cee0a060954c01a6c20ce75e8ca54 100644 (file)
@@ -48,7 +48,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)
 all:
index af7246e6baaedee0b51567b890328ed49323b678..9c1caae79a69a3f2ff0e8de49e58ddf0f32f7f73 100644 (file)
@@ -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
index a7c9c14a88c0fced8ec4b695b8c0c7aade4ad99c..856c847bd8139d757f5c4847b7985b55d0c1f3d8 100644 (file)
@@ -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)
 all:
index 0f0a31ff2f503f55169c571e4e2e71b4bc2f24a5..a7ecf978812576ba77269d22aab96905d14058f1 100644 (file)
@@ -48,7 +48,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)
 all:
index cbb91ebe8917b98167653a9c8852aca6280d9cb1..df6614c6043fd7f9e0457bef9c0a464ae83309fa 100644 (file)
@@ -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
index 2b93446c0887f0f9c3660a49841d450538444191..8ec1a38ef9fa9bf407414d46e88fcf2e93616dfa 100644 (file)
@@ -52,7 +52,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
index 67cc55b1bc03737c7e4ef13d44e281e5dd65a7a2..a2ea97a0c6cffd8bd1c0a339db007ec5cddec355 100644 (file)
@@ -52,7 +52,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)
 all:
index 1bb65e8fd144cc6d0b5e419476cb61a082d072bc..83d331012273ef85804dfddd049060236557c679 100644 (file)
@@ -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)
 all:
index 31bd2563c4920ab6bbb765d5c8368c0c4a7c9681..fa0cf727ed9c5f87f9569a64d039ea6391e9eebe 100644 (file)
@@ -51,7 +51,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)
 all: