X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2FMakefile;h=f7c42314023e0e9c9110cfb004d87c61041be408;hb=11e5f7a2b57fcd6763c1e3e77dda7886248e3b68;hp=356fcb1cd0e21fe895ca70eed8aebb413d88763b;hpb=edbed86d1cc3b2164284bab33d360d32317cdcd6;p=dpdk.git diff --git a/examples/Makefile b/examples/Makefile index 356fcb1cd0..f7c4231402 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -5,8 +5,8 @@ ifeq ($(RTE_SDK),) $(error "Please define RTE_SDK environment variable") endif -# Default target, can be overridden by command line or environment -RTE_TARGET ?= x86_64-native-linuxapp-gcc +# Default target, detect a build directory, by looking for a path with a .config +RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config))))) include $(RTE_SDK)/mk/rte.vars.mk @@ -17,6 +17,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += distributor DIRS-y += ethtool DIRS-y += exception_path DIRS-$(CONFIG_RTE_LIBRTE_EFD) += server_node_efd +DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += fips_validation DIRS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += flow_classify DIRS-y += flow_filtering DIRS-y += helloworld