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>
This commit is contained in:
parent
304caba126
commit
3417cd687e
@ -51,7 +51,7 @@ DIRS-y += l2fwd
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_IVSHMEM) += l2fwd-ivshmem
|
||||
DIRS-y += l3fwd
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_ACL) += l3fwd-acl
|
||||
DIRS-y += l3fwd-power
|
||||
DIRS-$(CONFIG_RTE_LIBRTE_POWER) += l3fwd-power
|
||||
DIRS-y += l3fwd-vf
|
||||
DIRS-y += link_status_interrupt
|
||||
DIRS-y += load_balancer
|
||||
|
@ -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 = exception_path
|
||||
@ -53,3 +54,5 @@ CFLAGS += -O3
|
||||
CFLAGS += $(WERROR_FLAGS)
|
||||
|
||||
include $(RTE_SDK)/mk/rte.extapp.mk
|
||||
|
||||
endif
|
||||
|
@ -38,6 +38,12 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
|
||||
|
||||
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 = bridge
|
||||
|
||||
@ -52,3 +58,5 @@ CFLAGS += -O3 -I$(SRCDIR)/../lib -I$(SRCDIR)/../netmap
|
||||
CFLAGS += $(WERROR_FLAGS)
|
||||
|
||||
include $(RTE_SDK)/mk/rte.extapp.mk
|
||||
|
||||
endif
|
||||
|
@ -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
|
||||
|
@ -38,6 +38,12 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
|
||||
|
||||
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 = vhost-switch
|
||||
|
||||
@ -50,3 +56,5 @@ CFLAGS += $(WERROR_FLAGS)
|
||||
LDFLAGS += -lfuse
|
||||
|
||||
include $(RTE_SDK)/mk/rte.extapp.mk
|
||||
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user