Date: Fri, 17 Oct 2014 04:36:48 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r273205 - head/sys/conf Message-ID: <201410170436.s9H4amqB092961@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410170436.s9H4amqB092961>