Makefile*: remove powerpcspe
As reported on the freebsd-announce mailing list[1] FreeBSD is continuing to retire 32-bit support. Remove powerpcspe from build infrastructure. [1] https://lists.freebsd.org/archives/freebsd-announce/2024-February/000117.html Signed-off-by: Minsoo Choo <minsoochoo0122@proton.me> Reviewed by: jhibbits, emaste Pull request: https://github.com/freebsd/freebsd-src/pull/1914
This commit is contained in:
+1
-6
@@ -323,15 +323,10 @@ CFLAGS += -mfloat-abi=softfp
|
||||
. endif
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "powerpcspe"
|
||||
.if ${MACHINE_ARCH} == "powerpc"
|
||||
LDFLAGS.bfd+= -Wl,--secure-plt
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_ARCH} == "powerpcspe"
|
||||
CFLAGS += -mcpu=8548 -mspe
|
||||
CFLAGS.gcc+= -mabi=spe -mfloat-gprs=double -Wa,-me500
|
||||
.endif
|
||||
|
||||
.if ${MACHINE_CPUARCH} == "riscv"
|
||||
CFLAGS += -march=rv64imafdc -mabi=lp64d
|
||||
.endif
|
||||
|
||||
@@ -9,8 +9,7 @@ TARGET_ENDIANNESS= 1234
|
||||
CAP_MKDB_ENDIAN= -l
|
||||
LOCALEDEF_ENDIAN= -l
|
||||
.elif ${MACHINE_ARCH} == "powerpc" || \
|
||||
${MACHINE_ARCH} == "powerpc64" || \
|
||||
${MACHINE_ARCH} == "powerpcspe"
|
||||
${MACHINE_ARCH} == "powerpc64"
|
||||
TARGET_ENDIANNESS= 4321
|
||||
CAP_MKDB_ENDIAN= -b
|
||||
LOCALEDEF_ENDIAN= -b
|
||||
|
||||
@@ -99,8 +99,7 @@ __DEFAULT_DEPENDENT_OPTIONS = \
|
||||
# some memory-hungry workloads.
|
||||
#
|
||||
.if ${MACHINE_ARCH} == "armv7" \
|
||||
|| ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" \
|
||||
|| ${MACHINE_ARCH} == "powerpcspe"
|
||||
|| ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc"
|
||||
__DEFAULT_NO_OPTIONS+= PIE
|
||||
.else
|
||||
__DEFAULT_YES_OPTIONS+=PIE
|
||||
|
||||
Reference in New Issue
Block a user