explain the purpose of genoffset_test
This commit is contained in:
parent
87c259d436
commit
018617b8ba
@ -194,6 +194,9 @@ genoffset.o: $S/kern/genoffset.c
|
||||
genoffset_test.c: $S/kern/genoffset.c
|
||||
cp $S/kern/genoffset.c genoffset_test.c
|
||||
|
||||
# genoffset_test.o is not actually used for anything - the point of compiling it
|
||||
# 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: genoffset_test.c offset.inc
|
||||
${CC} -c ${CFLAGS:N-flto:N-fno-common} -DOFFSET_TEST genoffset_test.c
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user