summaryrefslogtreecommitdiff
path: root/examples/ethtool
diff options
context:
space:
mode:
authorYong Liu <yong.liu@intel.com>2015-12-14 10:32:52 +0800
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-12-14 10:36:52 +0100
commit20dcb28f65697b0c35f4bdacd173da0b88949472 (patch)
tree67a1b8ff610cc7d285ff0e65688eafe50ea4b99c /examples/ethtool
parentbc31261cc20c2200f9b0265e408457adb85c67e8 (diff)
downloaddpdk-20dcb28f65697b0c35f4bdacd173da0b88949472.zip
dpdk-20dcb28f65697b0c35f4bdacd173da0b88949472.tar.gz
dpdk-20dcb28f65697b0c35f4bdacd173da0b88949472.tar.xz
examples: skip unsupported ethtool and l3fwd-power on FreeBSD
Userspace ethtool and l3fwd-power not support FreeBSD. So skip them when build samples. Signed-off-by: Marvin Liu <yong.liu@intel.com>
Diffstat (limited to 'examples/ethtool')
-rw-r--r--examples/ethtool/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/ethtool/Makefile b/examples/ethtool/Makefile
index 94f8ee3..995cd25 100644
--- a/examples/ethtool/Makefile
+++ b/examples/ethtool/Makefile
@@ -39,10 +39,11 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
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