1 2.-include <site.sys.machine.mk> 3 4PSEUDO_MACHINE_LIST?= common host host32 5TARGET_MACHINE_LIST?= amd64 arm arm64 i386 powerpc riscv 6 7MACHINE_ARCH_host?= ${_HOST_ARCH} 8MACHINE_ARCH_host32?= ${_HOST_ARCH32} 9 10MACHINE_ARCH_LIST_arm?= armv7 ${EXTRA_ARCHES_arm} 11MACHINE_ARCH_LIST_arm64?= aarch64 12MACHINE_ARCH_LIST_powerpc?= powerpc powerpc64 powerpc64le ${EXTRA_ARCHES_powerpc} 13MACHINE_ARCH_LIST_riscv?= riscv64 14 15.for m in ${TARGET_MACHINE_LIST} 16MACHINE_ARCH_LIST_$m?= $m 17MACHINE_ARCH_$m?= ${MACHINE_ARCH_LIST_$m:[1]} 18# for backwards comatability 19MACHINE_ARCH.$m?= ${MACHINE_ARCH_$m} 20.endfor 21 22.if empty(MACHINE_ARCH) 23MACHINE_ARCH:= ${MACHINE_ARCH_${MACHINE}} 24.endif 25