Makefile revision 1.1
11.1Sjmcneill# $NetBSD: Makefile,v 1.1 2020/05/18 21:19:35 jmcneill Exp $ 21.1Sjmcneill 31.1SjmcneillTARGETS+= dtblist 41.1Sjmcneill 51.1Sjmcneill.include <bsd.own.mk> 61.1Sjmcneill 71.1Sjmcneill.if !empty(MACHINE_ARCH:Mearmv[67]*) 81.1SjmcneillSUBDIR+= arm 91.1Sjmcneill.endif 101.1Sjmcneill 111.1Sjmcneill.if !empty(MACHINE_ARCH:Maarch64*) 121.1SjmcneillSUBDIR+= arm64 131.1Sjmcneill.endif 141.1Sjmcneill 151.1Sjmcneill.include <bsd.subdir.mk> 161.1Sjmcneill 171.1Sjmcneill# Regenerate MD set lists in distrib/sets/lists/dtb. Run this whenever 181.1Sjmcneill# new dts files are imported. 191.1Sjmcneill 201.1SjmcneillTARGET_ARCH_LIST= earmv6 earmv6hf earmv6eb earmv6hfeb 211.1SjmcneillTARGET_ARCH_LIST+= earmv7 earmv7hf earmv7hf earmv7hfeb 221.1SjmcneillTARGET_ARCH_LIST+= aarch64 aarch64eb 231.1Sjmcneill 241.1Sjmcneillupdate-sets: 251.1Sjmcneill.for _arch in ${TARGET_ARCH_LIST} 261.1Sjmcneill ${MAKE} MACHINE_ARCH=${_arch} dtblist | grep '^[\.#]' | \ 271.1Sjmcneill column -t >${.CURDIR}/../../distrib/sets/lists/dtb/ad.${_arch} 281.1Sjmcneill.endfor 29