Add a .PATH entry to search for sources in the ${MACHINE}/${MACHINE}

directory before the ${MACHINE_ARCH}/${MACHINE_ARCH} directory so that
machine-specific files take precedence of architecture-specific ones.

This fixes the build on sun4v which doesn't use the sparc64 version
of mem.c.

Tested by: make universe
This commit is contained in:
John Birrell 2006-10-16 22:09:48 +00:00
parent 89eb1586fe
commit 7486916426
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=163444

View File

@ -1,6 +1,7 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/mem
.PATH: ${.CURDIR}/../../${MACHINE}/${MACHINE}
.PATH: ${.CURDIR}/../../${MACHINE_ARCH}/${MACHINE_ARCH}
KMOD= mem