summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/Makefile.inc
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-08-23 22:24:11 +0000
committerimp <imp@FreeBSD.org>2010-08-23 22:24:11 +0000
commitc3a399c4ba4528500fec8cd412c88c10c7f637f5 (patch)
tree3fedc9e4d65d62c819fe8818c625211ebbd8ef26 /lib/libc/sys/Makefile.inc
parenta1a6e5ff56d4b37557fc8a042de19bfc7560dc8e (diff)
downloadFreeBSD-src-c3a399c4ba4528500fec8cd412c88c10c7f637f5.zip
FreeBSD-src-c3a399c4ba4528500fec8cd412c88c10c7f637f5.tar.gz
MFtbemd:
Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform.
Diffstat (limited to 'lib/libc/sys/Makefile.inc')
-rw-r--r--lib/libc/sys/Makefile.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/sys/Makefile.inc b/lib/libc/sys/Makefile.inc
index 1915c55..05c3e17 100644
--- a/lib/libc/sys/Makefile.inc
+++ b/lib/libc/sys/Makefile.inc
@@ -2,7 +2,7 @@
# $FreeBSD$
# sys sources
-.PATH: ${.CURDIR}/${MACHINE_ARCH}/sys ${.CURDIR}/sys
+.PATH: ${.CURDIR}/${MACHINE_CPUARCH}/sys ${.CURDIR}/sys
# Include the generated makefile containing the *complete* list
# of syscall names in MIASM.
@@ -13,8 +13,8 @@
# MDASM names override the default syscall names in MIASM.
# NOASM will prevent the default syscall code from being generated.
#
-.if exists(${.CURDIR}/${MACHINE_ARCH}/sys/Makefile.inc)
-.include "${.CURDIR}/${MACHINE_ARCH}/sys/Makefile.inc"
+.if exists(${.CURDIR}/${MACHINE_CPUARCH}/sys/Makefile.inc)
+.include "${.CURDIR}/${MACHINE_CPUARCH}/sys/Makefile.inc"
.endif
# Sources common to both syscall interfaces:
OpenPOWER on IntegriCloud