diff --git a/sys/modules/svr4/Makefile b/sys/modules/svr4/Makefile index 035db9604bc..2bb44a56aca 100644 --- a/sys/modules/svr4/Makefile +++ b/sys/modules/svr4/Makefile @@ -2,7 +2,9 @@ MAINTAINER= newton@FreeBSD.org -.PATH: ${.CURDIR}/../../i386/svr4 ${.CURDIR}/../../svr4 +TARGET_ARCH?= ${MACHINE_ARCH} + +.PATH: ${.CURDIR}/../../${TARGET_ARCH}/svr4 ${.CURDIR}/../../svr4 KMOD= svr4 SRCS= svr4_sysent.c svr4_sysvec.c opt_compat.h opt_svr4.h opt_vmpage.h \ vnode_if.h imgact_svr4.c svr4_signal.c svr4_fcntl.c svr4_misc.c \