* [dpdk-dev] [PATCH] performance-thread: limit app compilation to x86_64 targets
@ 2016-04-08 16:20 Pablo de Lara
2016-04-08 20:26 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Pablo de Lara @ 2016-04-08 16:20 UTC (permalink / raw)
To: dev; +Cc: ian.betts, Pablo de Lara
Performance-thread sample app is only supported for x86_64 targets,
so this commit adds a check to avoid compilation on other targets.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
examples/performance-thread/Makefile | 3 +++
1 file changed, 3 insertions(+)
diff --git a/examples/performance-thread/Makefile b/examples/performance-thread/Makefile
index 6278c9a..d2eec83 100644
--- a/examples/performance-thread/Makefile
+++ b/examples/performance-thread/Makefile
@@ -38,6 +38,9 @@ RTE_TARGET ?= x86_64-native-linuxapp-gcc
include $(RTE_SDK)/mk/rte.vars.mk
+ifneq ($(CONFIG_RTE_ARCH),"x86_64")
+ $(error This application is only supported for x86_64 targets)
+endif
DIRS-y += l3fwd-thread
DIRS-y += pthread_shim
--
2.5.5
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-04-08 20:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-08 16:20 [dpdk-dev] [PATCH] performance-thread: limit app compilation to x86_64 targets Pablo de Lara
2016-04-08 20:26 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).