[coreboot-gerrit] New patch to review for coreboot: Power pc64: get a tad closer to building.

Ronald G. Minnich (rminnich@gmail.com) gerrit at coreboot.org
Tue Dec 15 00:48:02 CET 2015


Ronald G. Minnich (rminnich at gmail.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12718

-gerrit

commit 57eebae8e24b300af2444fcb61705060f2999b7d
Author: Ronald G. Minnich <rminnich at gmail.com>
Date:   Mon Dec 14 15:45:03 2015 -0800

    Power pc64: get a tad closer to building.
    
    This seems to be the right name, almost, for ppc64.
    powerpc64-unknown-linux-gnu.
    
    But it still fails building gcc as it can't find pthread.h.
    
    Evidently to make this really work you need an existing gcc installion
    for your architecture. This makes no sense to me but I'll try it next.
    
    Change-Id: I75464e48bd1743e320b287d4b82d6eff649fc484
    Signed-off-by: Ronald G. Minnich <rminnich at gmail.com>
---
 util/crossgcc/buildgcc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index fe16442..5e537d6 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -324,7 +324,7 @@ myhelp()
 	printf "                                  (defaults to $TARGETARCH)\n"
 	printf "    [-S|--scripting]              build scripting support for GDB\n\n"
 	printf "Platforms for GCC & GDB:\n"
-	printf "    x86_64 i386-elf i386-mingw32 mipsel-elf riscv-elf arm aarch64\n\n"
+	printf "    x86_64 i386-elf i386-mingw32 mipsel-elf riscv-elf arm aarch64 ppc64 \n\n"
 }
 
 printversion() {
@@ -594,6 +594,7 @@ case "$TARGETARCH" in
 	i386*)		TARGETARCH=i386-elf;;
 	arm*)		TARGETARCH=armv7-a-eabi;;
 	aarch64*)	TARGETARCH=aarch64-elf;;
+	ppc64*)		TARGETARCH=powerpc64-unknown-linux-gnueabi;;
 	*)		printf "${red}WARNING: Unsupported architecture $TARGETARCH.${NC}\n\n"; ;;
 esac
 



More information about the coreboot-gerrit mailing list