1*91746eb7Smatt# $NetBSD: features.mk,v 1.2 2015/06/07 15:05:34 matt Exp $ 299ca2752Smatt 399ca2752Smatt.ifnmake obj 499ca2752SmattTESTFILE=${NETBSDSRCDIR}/common/lib/libc/arch/arm/features.c 5*91746eb7SmattFEAT_EABI!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DEABI_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi 6*91746eb7SmattFEAT_LDREX!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DLDREX_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi 7*91746eb7SmattFEAT_LDRD!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DLDRD_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi 8*91746eb7SmattFEAT_THUMB2!=if ${COMPILE.c} ${COPTS} -fsyntax-only -DTHUMB2_TEST ${TESTFILE} >/dev/null 2>/dev/null; then echo yes; else echo no; fi 999ca2752Smatt.endif 10