Makefile revision 1.1
1# $NetBSD: Makefile,v 1.1 2020/05/18 21:19:35 jmcneill Exp $ 2 3TARGETS+= dtblist 4 5.include <bsd.own.mk> 6 7.if !empty(MACHINE_ARCH:Mearmv[67]*) 8SUBDIR+= arm 9.endif 10 11.if !empty(MACHINE_ARCH:Maarch64*) 12SUBDIR+= arm64 13.endif 14 15.include <bsd.subdir.mk> 16 17# Regenerate MD set lists in distrib/sets/lists/dtb. Run this whenever 18# new dts files are imported. 19 20TARGET_ARCH_LIST= earmv6 earmv6hf earmv6eb earmv6hfeb 21TARGET_ARCH_LIST+= earmv7 earmv7hf earmv7hf earmv7hfeb 22TARGET_ARCH_LIST+= aarch64 aarch64eb 23 24update-sets: 25.for _arch in ${TARGET_ARCH_LIST} 26 ${MAKE} MACHINE_ARCH=${_arch} dtblist | grep '^[\.#]' | \ 27 column -t >${.CURDIR}/../../distrib/sets/lists/dtb/ad.${_arch} 28.endfor 29