Changeset View
Changeset View
Standalone View
Standalone View
devel/mingw-w64/plist-arch.mk
# $FreeBSD$ | |||||
ALL_ARCHS= i386 i686 amd64 x86_64 arm armv7 aarch64 | |||||
.for arch in ${ALL_ARCHS} | |||||
.if ${TOOLCHAIN_ARCHS:M${arch}} | |||||
PLIST_SUB+= ${arch}="" | |||||
.else | |||||
PLIST_SUB+= ${arch}="@comment " | |||||
.endif | |||||
.endfor | |||||
MAKEPLISTFILT= | |||||
.for arch in ${ALL_ARCHS} | |||||
MAKEPLISTFILT+= | ${SED} -E '/((^bin\/|^)${arch}-w64|-${arch}\.a$)/s/^/%%${arch}%%/' | |||||
.endfor | |||||
MAKEPLISTFILT+= | ${SED} 's/^%%/~%%/' | ${SORT} | ${SED} 's/^~//' | |||||
makeplist: stage | |||||
@${SETENV} ${CO_ENV} ${SH} ${SCRIPTSDIR}/check-stagedir.sh makeplist \ | |||||
${MAKEPLISTFILT} |