xref: /netbsd-src/common/lib/libc/arch/arm/features.mk (revision 91746eb77c7e05f8dc95b3c1b0e7686ed4928dee)
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