svn commit: r273205 - head/sys/conf

Warner Losh imp at FreeBSD.org
Fri Oct 17 04:36:49 UTC 2014


Author: imp
Date: Fri Oct 17 04:36:48 2014
New Revision: 273205
URL: https://svnweb.freebsd.org/changeset/base/273205

Log:
  Don't depend on @ or machine for assym.s or genassym.o. That's a
  vestige of a time when we needed to do that, but it is all handled by
  beforedepend now. When we depend on the symlink, bmake will cause the
  file to be rebuilt always.
  
  With this change, dtrace.ko doesn't rebuild every time through a
  KERNFAST run.
  
  Sponsored by: Netfix

Modified:
  head/sys/conf/kmod.mk

Modified: head/sys/conf/kmod.mk
==============================================================================
--- head/sys/conf/kmod.mk	Fri Oct 17 03:55:33 2014	(r273204)
+++ head/sys/conf/kmod.mk	Fri Oct 17 04:36:48 2014	(r273205)
@@ -476,7 +476,7 @@ assym.s: genassym.o
 genassym.o: opt_global.h
 .endif
 .if !exists(@)
-assym.s: @
+assym.s:
 .else
 assym.s: @/kern/genassym.sh
 .endif
@@ -484,7 +484,7 @@ assym.s: @/kern/genassym.sh
 .if exists(@)
 genassym.o: @/${MACHINE_CPUARCH}/${MACHINE_CPUARCH}/genassym.c
 .endif
-genassym.o: @ machine ${SRCS:Mopt_*.h}
+genassym.o: ${SRCS:Mopt_*.h}
 	${CC} -c ${CFLAGS:N-fno-common} \
 	    @/${MACHINE_CPUARCH}/${MACHINE_CPUARCH}/genassym.c
 .endif


More information about the svn-src-head mailing list