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:
jb 2006-10-16 22:09:48 +00:00
parent cbe057600d
commit eac32914a9

View File

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