Signed-off-by: Anton Blanchard <an...@samba.org>
Signed-off-by: Michel Normand <norm...@linux.vnet.ibm.com>
---
 Makefile                |    6 ++++++
 contrib/tlbmiss_cost.sh |    2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 3f510fd..36259f1 100644
--- a/Makefile
+++ b/Makefile
@@ -47,6 +47,11 @@ CC32 = $(CC) -m32
 ELF32 = elf32ppclinux
 endif
 else
+ifeq ($(ARCH),ppc64le)
+CC64 = $(CC) -m64
+ELF64 = elf64lppc
+TMPLIB64 = lib64
+else
 ifeq ($(ARCH),ppc)
 CC32 = $(CC) -m32
 ELF32 = elf32ppclinux
@@ -108,6 +113,7 @@ endif
 endif
 endif
 endif
+endif
 
 ifdef CC32
 OBJDIRS += obj32
diff --git a/contrib/tlbmiss_cost.sh b/contrib/tlbmiss_cost.sh
index 1f1e234..8fbf798 100755
--- a/contrib/tlbmiss_cost.sh
+++ b/contrib/tlbmiss_cost.sh
@@ -44,7 +44,7 @@ cpumhz() {
        FNAME="cpu MHz"
        FINDEX=4
        case "`uname -m`" in
-               ppc64)
+               ppc64|ppc64le)
                        FNAME="clock"
                        FINDEX=3
                        ;;
-- 
1.7.9.5


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Libhugetlbfs-devel mailing list
Libhugetlbfs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to