X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/593a1d5fd87cdf5b46dd5fcb84467b432cea0f91..c910b4d9d2451126ae3917b931cd4390c11e1d52:/libsyscall/mach/Makefile.inc diff --git a/libsyscall/mach/Makefile.inc b/libsyscall/mach/Makefile.inc index 40048e71e..516300d2a 100644 --- a/libsyscall/mach/Makefile.inc +++ b/libsyscall/mach/Makefile.inc @@ -1,9 +1,5 @@ # machine-dependent mach sources -.if ${MACHINE_ARCH} == armv6 -ARCHDIR = arm -.else -ARCHDIR = ${MACHINE_ARCH} -.endif +ARCHDIR = ${MACHINE_ARCH:C/^armv.*$/arm/} .if exists(${.CURDIR}/mach/${ARCHDIR}/Makefile.inc) .include "${.CURDIR}/mach/${ARCHDIR}/Makefile.inc" .endif