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