From d69d8a46cdf2ddc3c0c8c6e275acbf6fc5d5a24b Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Tue, 3 Jul 2018 18:45:04 +0000 Subject: [PATCH] Fix module build when MODULE_TIED=1 is set. --- sys/conf/kmod.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/conf/kmod.mk b/sys/conf/kmod.mk index 0a6d92f16488..352b8f1426e0 100644 --- a/sys/conf/kmod.mk +++ b/sys/conf/kmod.mk @@ -472,16 +472,16 @@ genassym.o: opt_global.h .endif assym.inc: ${SYSDIR}/kern/genassym.sh sh ${SYSDIR}/kern/genassym.sh genassym.o > ${.TARGET} -genassym.o: ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c +genassym.o: ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c offset.inc genassym.o: ${SRCS:Mopt_*.h} ${CC} -c ${CFLAGS:N-flto:N-fno-common} \ ${SYSDIR}/${MACHINE}/${MACHINE}/genassym.c offset.inc: ${SYSDIR}/kern/genoffset.sh genoffset.o sh ${SYSDIR}/kern/genoffset.sh genoffset.o > ${.TARGET} -genoffset.o: ${SYSDIR}/${MACHINE}/${MACHINE}/genoffset.c +genoffset.o: ${SYSDIR}/kern/genoffset.c genoffset.o: ${SRCS:Mopt_*.h} ${CC} -c ${CFLAGS:N-flto:N-fno-common} \ - ${SYSDIR}/${MACHINE}/${MACHINE}/genoffset.c + ${SYSDIR}/kern/genoffset.c .endif .if defined(KERNBUILDDIR)