>From 9fdd8f22bc417c53b4467ccd997b9d2fb833832a Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sat, 3 Jun 2017 02:23:20 +0000 Subject: [PATCH 1/2] CodeSamples: Fixes for build on ppc64le Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- CodeSamples/Makefile | 2 ++ CodeSamples/depends.mk | 2 ++ 2 files changed, 4 insertions(+) diff --git a/CodeSamples/Makefile b/CodeSamples/Makefile index 4168220..e1593a7 100644 --- a/CodeSamples/Makefile +++ b/CodeSamples/Makefile @@ -92,6 +92,8 @@ pthreads-ppc64: echo "" >> api.h cat api-pthreads/api-pthreads.h >> api.h echo "" >> api.h + cat api-pthreads/api-gcc.h >> api.h + echo "" >> api.h if test -f /usr/include/urcu-call-rcu.h -o -f /usr/local/include/urcu-call-rcu.h ; \ then \ echo "#define _LGPL_SOURCE" >> api.h; \ diff --git a/CodeSamples/depends.mk b/CodeSamples/depends.mk index 409eeee..f3a325d 100644 --- a/CodeSamples/depends.mk +++ b/CodeSamples/depends.mk @@ -8,6 +8,8 @@ else ifeq ($(arch),x86_64) target := x86 else ifeq ($(arch),ppc64) target := ppc64 +else ifeq ($(arch),ppc64le) +target := ppc64 else ifneq (,$(findstring arm,$(arch))) target := arm else -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html