161fe0b8eSSimon J. Gerraty 261fe0b8eSSimon J. Gerraty.-include <site.sys.machine.mk> 361fe0b8eSSimon J. Gerraty 4*f9df6097SSimon J. GerratyPSEUDO_MACHINE_LIST?= common host host32 561fe0b8eSSimon J. GerratyTARGET_MACHINE_LIST?= amd64 arm arm64 i386 powerpc riscv 661fe0b8eSSimon J. Gerraty 761fe0b8eSSimon J. GerratyMACHINE_ARCH_host?= ${_HOST_ARCH} 8*f9df6097SSimon J. GerratyMACHINE_ARCH_host32?= ${_HOST_ARCH32} 961fe0b8eSSimon J. Gerraty 1061fe0b8eSSimon J. GerratyMACHINE_ARCH_LIST_arm?= armv7 ${EXTRA_ARCHES_arm} 1161fe0b8eSSimon J. GerratyMACHINE_ARCH_LIST_arm64?= aarch64 1261fe0b8eSSimon J. GerratyMACHINE_ARCH_LIST_powerpc?= powerpc powerpc64 powerpc64le ${EXTRA_ARCHES_powerpc} 1361fe0b8eSSimon J. GerratyMACHINE_ARCH_LIST_riscv?= riscv64 1461fe0b8eSSimon J. Gerraty 1561fe0b8eSSimon J. Gerraty.for m in ${TARGET_MACHINE_LIST} 1661fe0b8eSSimon J. GerratyMACHINE_ARCH_LIST_$m?= $m 1761fe0b8eSSimon J. GerratyMACHINE_ARCH_$m?= ${MACHINE_ARCH_LIST_$m:[1]} 1861fe0b8eSSimon J. Gerraty# for backwards comatability 1961fe0b8eSSimon J. GerratyMACHINE_ARCH.$m?= ${MACHINE_ARCH_$m} 2061fe0b8eSSimon J. Gerraty.endfor 2161fe0b8eSSimon J. Gerraty 2261fe0b8eSSimon J. Gerraty.if empty(MACHINE_ARCH) 2361fe0b8eSSimon J. GerratyMACHINE_ARCH:= ${MACHINE_ARCH_${MACHINE}} 2461fe0b8eSSimon J. Gerraty.endif 25