X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fmulti_process%2FMakefile;h=7f7e68d912078ebd4639ad8739b78d18fd3028fa;hb=8d4659e70fc081ab220e44552af194900d720d2e;hp=b0633df38f70a15edb5b23147b633fcd35a7334a;hpb=218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf;p=dpdk.git diff --git a/examples/multi_process/Makefile b/examples/multi_process/Makefile index b0633df38f..7f7e68d912 100644 --- a/examples/multi_process/Makefile +++ b/examples/multi_process/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-linux-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