share/mk: Remove armv6 support
It is being removed from the tree. Remove the build infrastructure to configure armv6 builds. Reviewed by: manu, imp, emaste Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D45643
This commit is contained in:
+1
-4
@@ -315,13 +315,10 @@ MACHINE_CPU = riscv
|
|||||||
########## arm
|
########## arm
|
||||||
.if ${MACHINE_CPUARCH} == "arm"
|
.if ${MACHINE_CPUARCH} == "arm"
|
||||||
MACHINE_CPU += arm
|
MACHINE_CPU += arm
|
||||||
. if ${MACHINE_ARCH:Marmv6*} != ""
|
|
||||||
MACHINE_CPU += armv6
|
|
||||||
. endif
|
|
||||||
. if ${MACHINE_ARCH:Marmv7*} != ""
|
. if ${MACHINE_ARCH:Marmv7*} != ""
|
||||||
MACHINE_CPU += armv7
|
MACHINE_CPU += armv7
|
||||||
. endif
|
. endif
|
||||||
# Normally armv6 and armv7 are hard float ABI from FreeBSD 11 onwards. However
|
# Normally armv7 is hard float ABI from FreeBSD 11 onwards. However
|
||||||
# when CPUTYPE has 'soft' in it, we use the soft-float ABI to allow building of
|
# when CPUTYPE has 'soft' in it, we use the soft-float ABI to allow building of
|
||||||
# soft-float ABI libraries. In this case, we have to add the -mfloat-abi=softfp
|
# soft-float ABI libraries. In this case, we have to add the -mfloat-abi=softfp
|
||||||
# to force that.
|
# to force that.
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ __DEFAULT_DEPENDENT_OPTIONS = \
|
|||||||
# means that ASLR is of limited effectiveness, and it may cause issues with
|
# means that ASLR is of limited effectiveness, and it may cause issues with
|
||||||
# some memory-hungry workloads.
|
# some memory-hungry workloads.
|
||||||
#
|
#
|
||||||
.if ${MACHINE_ARCH} == "armv6" || ${MACHINE_ARCH} == "armv7" \
|
.if ${MACHINE_ARCH} == "armv7" \
|
||||||
|| ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" \
|
|| ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "powerpc" \
|
||||||
|| ${MACHINE_ARCH} == "powerpcspe"
|
|| ${MACHINE_ARCH} == "powerpcspe"
|
||||||
__DEFAULT_NO_OPTIONS+= PIE
|
__DEFAULT_NO_OPTIONS+= PIE
|
||||||
|
|||||||
Reference in New Issue
Block a user