aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2018-07-03 20:03:19 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2018-07-03 20:03:19 +0000
commit44e4164832d34287bb58d7bacf189ba411566992 (patch)
treec7e2cd71fa7ea332a04c3dd40238b39557a5a169 /sys
parenta46134b6414fb70c3d7867b0fcd9730e9d68eec1 (diff)
downloadsrc-44e4164832d34287bb58d7bacf189ba411566992.tar.gz
src-44e4164832d34287bb58d7bacf189ba411566992.zip
Fix r335906+r335907 to not pass multiple source files to genoffset_test.o target.
This is working around a bug with the FAST_DEPEND logic with custom targets that use .ALLSRC. Reported by: mmacy
Notes
Notes: svn path=/head/; revision=335908
Diffstat (limited to 'sys')
-rw-r--r--sys/conf/kern.post.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kern.post.mk b/sys/conf/kern.post.mk
index ed28119d88bc..39570f18d613 100644
--- a/sys/conf/kern.post.mk
+++ b/sys/conf/kern.post.mk
@@ -195,8 +195,8 @@ genoffset.o: $S/kern/genoffset.c
# is to exercise the CTASSERT that checks that the offsets in the offset.inc
# _lite struct(s) match those in the original(s).
genoffset_test.o: $S/kern/genoffset.c offset.inc
- ${CC} -c ${CFLAGS:N-flto:N-fno-common} -DOFFSET_TEST ${.ALLSRC:M*.c} \
- -o ${.TARGET}
+ ${CC} -c ${CFLAGS:N-flto:N-fno-common} -DOFFSET_TEST \
+ $S/kern/genoffset.c -o ${.TARGET}
assym.inc: $S/kern/genassym.sh genassym.o genoffset_test.o
NM='${NM}' NMFLAGS='${NMFLAGS}' sh $S/kern/genassym.sh genassym.o > ${.TARGET}