git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/octeontx2: fix PTP and HIGIG2 coexistence
[dpdk.git]
/
examples
/
performance-thread
/
l3fwd-thread
/
Makefile
diff --git
a/examples/performance-thread/l3fwd-thread/Makefile
b/examples/performance-thread/l3fwd-thread/Makefile
index
5ac5436
..
b14b21e
100644
(file)
--- a/
examples/performance-thread/l3fwd-thread/Makefile
+++ b/
examples/performance-thread/l3fwd-thread/Makefile
@@
-5,8
+5,8
@@
ifeq ($(RTE_SDK),)
$(error "Please define RTE_SDK environment variable")
endif
$(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
include $(RTE_SDK)/mk/rte.vars.mk
@@
-18,13
+18,6
@@
SRCS-y := main.c
include $(RTE_SDK)/examples/performance-thread/common/common.mk
include $(RTE_SDK)/examples/performance-thread/common/common.mk
-CFLAGS += -DALLOW_EXPERIMENTAL_API
CFLAGS += -O3 -g $(USER_FLAGS) $(INCLUDES) $(WERROR_FLAGS)
CFLAGS += -O3 -g $(USER_FLAGS) $(INCLUDES) $(WERROR_FLAGS)
-# workaround for a gcc bug with noreturn attribute
-# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12603
-#ifeq ($(CONFIG_RTE_TOOLCHAIN_GCC),y)
-CFLAGS_main.o += -Wno-return-type
-#endif
-
include $(RTE_SDK)/mk/rte.extapp.mk
include $(RTE_SDK)/mk/rte.extapp.mk