In commit df1508cd4151 "move rtas syscall definition to ppc specific
directory" the rtas syscall got moved to syscalls/ppc, and we added a
rule in the Makefile to pick that up based on the output of
gcc -dumpmachine.

That rule only looks for "ppc*" though, on Ubuntu gcc emits
"powerpc-linux-gnu", or "powerpc64le-linux-gnu".
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index eeb8c740b19e..5eb21b55a1e3 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,7 @@ MACHINE               = $(shell $(CC) -dumpmachine)
 SYSCALLS_ARCH  = $(shell case "$(MACHINE)" in \
                  (sh*) echo syscalls/sh/*.c ;; \
                  (ia64*) echo syscalls/ia64/*.c ;; \
-                 (ppc*) echo syscalls/ppc/*.c ;; \
+                 (ppc*|powerpc*) echo syscalls/ppc/*.c ;; \
                  (sparc*) echo syscalls/sparc/*.c ;; \
                  esac)
 
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to