It is redundant since change 49b2349b419c ("Added rules to generate .c files from .m files...").
MFC after: 2 weeks
Differential D62438
kern.pre.mk: Stop regenerating the .c file from .m file Authored by zlei on Fri, Dec 4, 5:47 PM. Project Tags None Referenced Files
Subscribers None
Details
Diff Detail
Event TimelineComment Actions This is part of the Makefile generated by config(8) for amd64 (GENERIC), MFILES=$S/dev/acpica/apei_if.m $S/dev/agp/agp_if.m $S/dev/ata/ata_if.m \
...
$S/dev/hyperv/vmbus/vmbus_if.m $S/dev/ice/irdma_if.m \
$S/dev/ice/irdma_di_if.m
...
irdma_if.o: $S/dev/ice/irdma_if.m
${NORMAL_M} -I$S/dev/ice
${NORMAL_CTFCONVERT}
...
.include "$S/conf/kern.post.mk"and kern.post.mk can generate the .c and .h files, .for mfile in ${MFILES}
# XXX the low quality .m.o rules gnerated by config are normally used
# instead of the .m.c rules here.
${mfile:T:S/.m$/.c/}: ${mfile} $S/tools/makeobjops.awk
${AWK} -f $S/tools/makeobjops.awk ${mfile} -c
${mfile:T:S/.m$/.h/}: ${mfile} $S/tools/makeobjops.awk
${AWK} -f $S/tools/makeobjops.awk ${mfile} -h
.endforSo the makeobjops.awk in NORMAL_M is redundant. |