Userspace ethtool and l3fwd-power not support FreeBSD.
So skip them when build samples.
Signed-off-by: Marvin Liu <yong.liu@intel.com>
include $(RTE_SDK)/mk/rte.vars.mk
ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp")
-$(error This application can only operate in a linuxapp environment, \
+$(info This application can only operate in a linuxapp environment, \
please change the definition of the RTE_TARGET environment variable)
-endif
+else
DIRS-y += lib ethtool-app
+endif
include $(RTE_SDK)/mk/rte.extsubdir.mk
include $(RTE_SDK)/mk/rte.vars.mk
+ifneq ($(CONFIG_RTE_EXEC_ENV),"linuxapp")
+$(info This application can only operate in a linuxapp environment, \
+please change the definition of the RTE_TARGET environment variable)
+all:
+else
+
# binary name
APP = l3fwd-power
endif
include $(RTE_SDK)/mk/rte.extapp.mk
+endif