On 06/17, David Marchand wrote: >This check on Linux environment has been added at a time when we already >had switched to using the boolean RTE_EXEC_ENV_LINUXAPP. >It was then missed when converting to RTE_EXEC_ENV_LINUX. > >Fixes: edbed86d1cc3 ("examples/vdpa: introduce a new sample for vDPA") >Fixes: 742bde12f3bd ("build/linux: rename macro from LINUXAPP to LINUX") >Cc: sta...@dpdk.org > >Signed-off-by: David Marchand <david.march...@redhat.com> >--- >If we backport this to 18.11, the fix is to switch to >RTE_EXEC_ENV_LINUXAPP. > >--- > examples/vdpa/Makefile | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/examples/vdpa/Makefile b/examples/vdpa/Makefile >index 9d16d8e..ab2bbdf 100644 >--- a/examples/vdpa/Makefile >+++ b/examples/vdpa/Makefile >@@ -10,7 +10,7 @@ RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword >$(wildcard $(RTE_SDK)/*/.conf > > include $(RTE_SDK)/mk/rte.vars.mk > >-ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp") >+ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),y) > $(info This application can only operate in a linux environment, \ > please change the definition of the RTE_TARGET environment variable) > all: >-- >1.8.3.1 >
Reviewed-by: Xiaolong Ye <xiaolong...@intel.com>