Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jul 2018 18:45:04 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r335904 - head/sys/conf
Message-ID:  <201807031845.w63Ij4tb031388@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807031845.w63Ij4tb031388>