Select ldrex/strex if ${MACHINE_ARCH:Mearmv[67]*}
This commit is contained in:
parent
8eaee83f77
commit
1240752cc0
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: Makefile.inc,v 1.10 2012/09/11 20:51:25 matt Exp $
|
# $NetBSD: Makefile.inc,v 1.11 2013/08/06 20:37:22 matt Exp $
|
||||||
|
|
||||||
ARMV6= ${CPUFLAGS:M-march=armv7*} ${CPUFLAGS:M-mcpu=cortex*}
|
ARMV6= ${CPUFLAGS:M-march=armv7*} ${CPUFLAGS:M-mcpu=cortex*}
|
||||||
ARMV6+= ${CPUFLAGS:M-march=armv6*} ${CPUFLAGS:M-mcpu=arm11*}
|
ARMV6+= ${CPUFLAGS:M-march=armv6*} ${CPUFLAGS:M-mcpu=arm11*}
|
||||||
|
@ -6,6 +6,7 @@ ARMV6+= ${CFLAGS:M-march=armv7*:} ${CFLAGS:M-mcpu=cortex*}
|
||||||
ARMV6+= ${CFLAGS:M-march=armv6*:} ${CFLAGS:M-mcpu=arm11*}
|
ARMV6+= ${CFLAGS:M-march=armv6*:} ${CFLAGS:M-mcpu=arm11*}
|
||||||
ARMV6+= ${CPPFLAGS:M-march=armv7*:} ${CPPFLAGS:M-mcpu=cortex*}
|
ARMV6+= ${CPPFLAGS:M-march=armv7*:} ${CPPFLAGS:M-mcpu=cortex*}
|
||||||
ARMV6+= ${CPPFLAGS:M-march=armv6*:} ${CPPFLAGS:M-mcpu=arm11*}
|
ARMV6+= ${CPPFLAGS:M-march=armv6*:} ${CPPFLAGS:M-mcpu=arm11*}
|
||||||
|
ARMV6+= ${MACHINE_ARCH:Mearmv[67]*}
|
||||||
|
|
||||||
.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
|
.if defined(LIB) && (${LIB} == "kern" || ${LIB} == "c" || ${LIB} == "pthread" \
|
||||||
|| ${LIB} == "rump")
|
|| ${LIB} == "rump")
|
||||||
|
|
Loading…
Reference in New Issue