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)