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
This commit is contained in:
parent
ac23f4607a
commit
0c0fde953f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user