Makefile revision 1.2
11.2Srin# $NetBSD: Makefile,v 1.2 2020/05/22 23:57:13 rin 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.2Srin (echo '# $$NetBSD: Makefile,v 1.2 2020/05/22 23:57:13 rin Exp $$'; \ 271.2Srin echo '#'; \ 281.2Srin echo '# DO NOT EDIT THIS FILE MANUALLY'; \ 291.2Srin echo '# Generated by "make update-sets" in sys/dtb'; \ 301.2Srin echo '#'; \ 311.2Srin ${MAKE} MACHINE_ARCH=${_arch} dtblist | grep '^[\.#]' | column -t | \ 321.2Srin sort) > ${.CURDIR}/../../distrib/sets/lists/dtb/ad.${_arch} 331.1Sjmcneill.endfor 34