summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2018-11-30 00:06:50 +0100
committerTimothy Pearson <tpearson@raptorengineering.com>2018-11-30 20:02:17 +0000
commitc22ad581c80d276bc5509b7a8be79784b14a60af (patch)
tree7f0d6765c76487fef2e6ad6d72f2a49c1935dcba /util
parent2af17af82981df83b91a58f88dc6aa143e6dee55 (diff)
arch/power8: Rename to ppc64
POWER8 is a specific implementation of ppc64, which is by now outdated (POWER9 has been on the market for a while). Rename arch/power8/ to potentially cover a wider range of hardware. TEST=Toolchains built before/after this commit can build coreboot for emulation/qemu-power8 from before/after this commit. Change-Id: I2d6f08b12a9ffc8a652ddcd6f24ad85ecb33ca52 Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-on: https://review.coreboot.org/c/29943 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Timothy Pearson <tpearson@raptorengineering.com>
Diffstat (limited to 'util')
-rw-r--r--util/crossgcc/Makefile8
-rw-r--r--util/crossgcc/Makefile.inc2
-rwxr-xr-xutil/lint/check_lint_tests2
-rwxr-xr-xutil/xcompile/xcompile8
4 files changed, 10 insertions, 10 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index 0c092d7070..a8ea815165 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -9,12 +9,12 @@ DEST ?= $(CURDIR)/xgcc
all all_with_gdb:
$(MAKE) build-i386 build-x64 build-arm build-mips \
- build-riscv build-aarch64 build-power8 build-nds32le \
+ build-riscv build-aarch64 build-ppc64 build-nds32le \
build_clang build_iasl build_make
all_without_gdb:
$(MAKE) SKIP_GDB=1 build-i386 build-x64 build-arm build-mips \
- build-riscv build-aarch64 build-power8 build-nds32le \
+ build-riscv build-aarch64 build-ppc64 build-nds32le \
build_clang build_iasl build_make
build_tools: build_gcc build_gdb
@@ -63,7 +63,7 @@ build-riscv:
# GDB is currently not supported on RISC-V
@$(MAKE) build_gcc BUILD_PLATFORM=riscv-elf
-build-power8:
+build-ppc64:
@$(MAKE) build_tools BUILD_PLATFORM=powerpc64-linux-gnu
build-nds32le:
@@ -85,6 +85,6 @@ 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-arm \
- build-aarch64 build-mips build-riscv build-power8 build-nds32le \
+ build-aarch64 build-mips build-riscv build-ppc64 build-nds32le \
clean distclean clean_tempfiles
.NOTPARALLEL:
diff --git a/util/crossgcc/Makefile.inc b/util/crossgcc/Makefile.inc
index f4aa36461a..8f8257c2f2 100644
--- a/util/crossgcc/Makefile.inc
+++ b/util/crossgcc/Makefile.inc
@@ -13,7 +13,7 @@
## GNU General Public License for more details.
##
-TOOLCHAIN_ARCHES := i386 x64 arm aarch64 mips riscv power8 nds32le
+TOOLCHAIN_ARCHES := i386 x64 arm aarch64 mips riscv ppc64 nds32le
help_toolchain help::
@echo '*** Toolchain targets ***'
diff --git a/util/lint/check_lint_tests b/util/lint/check_lint_tests
index 5ba33c8e37..6b1860fdae 100755
--- a/util/lint/check_lint_tests
+++ b/util/lint/check_lint_tests
@@ -6,7 +6,7 @@ UNDERSCORE='_'
#lint-stable-000-license-headers
TESTFILE000a=src/arch/x86/thread.c
-TESTFILE000b=src/arch/power8/misc.c
+TESTFILE000b=src/arch/ppc64/misc.c
sed -i.bak 's/^[[:space:]]\*[[:space:]].*//' ${TESTFILE000a}
sed -i.bak 's/^[[:space:]]\*[[:space:]]but WITHOUT ANY WARRANTY;//' ${TESTFILE000b}
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 6d82a4de63..d416e5d387 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -303,7 +303,7 @@ EOF
}
# Architecture definitions
-SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86 power8"
+SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86 ppc64"
# TARCH: local name for the architecture
# (used as CC_${TARCH} in the build system)
@@ -366,12 +366,12 @@ arch_config_mipsel() {
TENDIAN="EL"
}
-arch_config_power8() {
- TARCH="power8"
+arch_config_ppc64() {
+ TARCH="ppc64"
TBFDARCHS="powerpc"
TCLIST="powerpc64"
TWIDTH="64"
- TSUPP="power8"
+ TSUPP="ppc64"
TABI="linux-gnu" # there is no generic ABI on ppc64
CC_RT_EXTRA_GCC="-mcpu=power8 -mbig-endian"
}