[dpdk-dev] performance-thread: limit app compilation to x86_64 targets
Commit Message
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(+)
Comments
2016-04-08 17:20, 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>
Applied, thanks
@@ -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