1 # $NetBSD: features.mk,v 1.2 2015/06/07 15:05:34 matt Exp $
4 TESTFILE
=${NETBSDSRCDIR}/common
/lib
/libc
/arch
/arm
/features.c
5 FEAT_EABI
!=if
${COMPILE.c
} ${COPTS} -fsyntax-only
-DEABI_TEST
${TESTFILE} >/dev
/null
2>/dev
/null
; then echo yes
; else echo no
; fi
6 FEAT_LDREX
!=if
${COMPILE.c
} ${COPTS} -fsyntax-only
-DLDREX_TEST
${TESTFILE} >/dev
/null
2>/dev
/null
; then echo yes
; else echo no
; fi
7 FEAT_LDRD
!=if
${COMPILE.c
} ${COPTS} -fsyntax-only
-DLDRD_TEST
${TESTFILE} >/dev
/null
2>/dev
/null
; then echo yes
; else echo no
; fi
8 FEAT_THUMB2
!=if
${COMPILE.c
} ${COPTS} -fsyntax-only
-DTHUMB2_TEST
${TESTFILE} >/dev
/null
2>/dev
/null
; then echo yes
; else echo no
; fi