util/crossgcc: Add ppc64el support
Change-Id: I619f7c3cef7f0aaa6fccb3d52f2ac1f6ace6d0d6 Signed-off-by: Timothy Pearson <tpearson@raptorengineeringinc.com> Reviewed-on: https://review.coreboot.org/12818 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
This commit is contained in:
committed by
Ronald G. Minnich
parent
68d0e4a5a1
commit
a9f62359e2
@ -61,6 +61,9 @@ build-mips:
|
||||
build-riscv:
|
||||
@$(MAKE) build_tools BUILD_PLATFORM=riscv-elf
|
||||
|
||||
build-power8:
|
||||
@$(MAKE) build_tools BUILD_PLATFORM=powerpc64le-linux-gnu
|
||||
|
||||
clean_tempfiles:
|
||||
rm -rf build-*
|
||||
rm -rf binutils-* gcc-* gmp-* libelf-* mpc-* mpfr-*
|
||||
@ -77,5 +80,5 @@ distclean: clean
|
||||
|
||||
.PHONY: build_gcc build_iasl build_gdb build_clang \
|
||||
all all_with_gdb all_without_gdb build_tools \
|
||||
build-i386 build-x64 build-armv7a build-aarch64 build-mips build-riscv \
|
||||
build-i386 build-x64 build-armv7a build-aarch64 build-mips build-riscv build-power8 \
|
||||
clean distclean clean_tempfiles
|
||||
|
@ -587,16 +587,17 @@ fi
|
||||
printversion
|
||||
|
||||
case "$TARGETARCH" in
|
||||
x86_64-elf) ;;
|
||||
x86_64*) TARGETARCH=x86_64-elf;;
|
||||
i386-elf) ;;
|
||||
i386-mingw32) ;;
|
||||
mipsel-elf) ;;
|
||||
riscv-elf) ;;
|
||||
i386*) TARGETARCH=i386-elf;;
|
||||
arm*) TARGETARCH=armv7-a-eabi;;
|
||||
aarch64*) TARGETARCH=aarch64-elf;;
|
||||
*) printf "${red}WARNING: Unsupported architecture $TARGETARCH.${NC}\n\n"; ;;
|
||||
x86_64-elf) ;;
|
||||
x86_64*) TARGETARCH=x86_64-elf;;
|
||||
i386-elf) ;;
|
||||
i386-mingw32) ;;
|
||||
mipsel-elf) ;;
|
||||
riscv-elf) ;;
|
||||
powerpc64le-linux-gnu) ;;
|
||||
i386*) TARGETARCH=i386-elf;;
|
||||
arm*) TARGETARCH=armv7-a-eabi;;
|
||||
aarch64*) TARGETARCH=aarch64-elf;;
|
||||
*) printf "${red}WARNING: Unsupported architecture $TARGETARCH.${NC}\n\n"; ;;
|
||||
esac
|
||||
|
||||
# Figure out which packages to build
|
||||
|
Reference in New Issue
Block a user