Author: bdrewery
Date: Tue Jul  3 18:45:04 2018
New Revision: 335904
URL: https://svnweb.freebsd.org/changeset/base/335904

Log:
  Fix module build when MODULE_TIED=1 is set.

Modified:
  head/sys/conf/kmod.mk

Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk       Tue Jul  3 18:39:43 2018        (r335903)
+++ head/sys/conf/kmod.mk       Tue Jul  3 18:45:04 2018        (r335904)
@@ -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)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to