summaryrefslogtreecommitdiff
path: root/examples/qos_sched
diff options
context:
space:
mode:
authorThomas Monjalon <thomas.monjalon@6wind.com>2014-07-03 00:07:15 +0200
committerThomas Monjalon <thomas.monjalon@6wind.com>2014-07-03 00:10:30 +0200
commit3417cd687e5ec3e6ea695a8349aea2e8d545724a (patch)
treee6dcab25e30a388853c66955fd98f54387861db9 /examples/qos_sched
parent304caba12643169b321757a949d514321929762a (diff)
downloaddpdk-draft-windows-3417cd687e5ec3e6ea695a8349aea2e8d545724a.zip
dpdk-draft-windows-3417cd687e5ec3e6ea695a8349aea2e8d545724a.tar.gz
dpdk-draft-windows-3417cd687e5ec3e6ea695a8349aea2e8d545724a.tar.xz
examples: ignore linux apps on bsd
Do not try to build Linux examples in a BSD environment. Reported-by: Bruce Richardson <bruce.richardson@intel.com> Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Diffstat (limited to 'examples/qos_sched')
-rwxr-xr-xexamples/qos_sched/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/qos_sched/Makefile b/examples/qos_sched/Makefile
index 48713f9..f59645f 100755
--- a/examples/qos_sched/Makefile
+++ b/examples/qos_sched/Makefile
@@ -39,9 +39,10 @@ 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
+all:
+else
# binary name
APP = qos_sched
@@ -55,3 +56,5 @@ CFLAGS_args.o := -D_GNU_SOURCE
CFLAGS_cfg_file.o := -D_GNU_SOURCE
include $(RTE_SDK)/mk/rte.extapp.mk
+
+endif