diff --git a/lib/libc_aligned/Makefile b/lib/libc_aligned/Makefile index ffe38f173df5..56445c13c1dc 100644 --- a/lib/libc_aligned/Makefile +++ b/lib/libc_aligned/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2022/05/30 15:06:55 rin Exp $ +# $NetBSD: Makefile,v 1.2 2023/09/04 18:16:53 riastradh Exp $ # # libc routines with strictly aligned memory access @@ -15,7 +15,7 @@ LIBC_MACHINE_CPU?= ${MACHINE_CPU} .elif exists(arch/${MACHINE_ARCH}) .include "arch/${MACHINE_ARCH}/Makefile.inc" .PATH: ${.CURDIR}/arch/${MACHINE_ARCH} -.elif exists(arch/${MACHINE} +.elif exists(arch/${MACHINE}) .include "arch/${MACHINE}/Makefile.inc" .PATH: ${.CURDIR}/arch/${MACHINE} .endif diff --git a/lib/libc_fp/Makefile b/lib/libc_fp/Makefile index d3ca9fd9dc69..7b29f6094c06 100644 --- a/lib/libc_fp/Makefile +++ b/lib/libc_fp/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/07/14 01:59:18 matt Exp $ +# $NetBSD: Makefile,v 1.2 2023/09/04 18:16:53 riastradh Exp $ # USE_SHLIBDIR= yes @@ -13,7 +13,7 @@ LIBC_MACHINE_CPU?= ${MACHINE_CPU} .elif exists(arch/${MACHINE_ARCH}) .include "arch/${MACHINE_ARCH}/Makefile.inc" .PATH: ${.CURDIR}/arch/${MACHINE_ARCH} -.elif exists(arch/${MACHINE} +.elif exists(arch/${MACHINE}) .include "arch/${MACHINE}/Makefile.inc" .PATH: ${.CURDIR}/arch/${MACHINE} .endif