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>
This commit is contained in:
committed by
Timothy Pearson
parent
2af17af829
commit
c22ad581c8
@@ -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:
|
||||
|
@@ -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 ***'
|
||||
|
@@ -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}
|
||||
|
||||
|
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user