Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Sep 1998 04:15:40 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, imp@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/conf files
Message-ID:  <199809091815.EAA10016@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  Modified files:
>    sys/conf             files 
>  Log:
>  Add dependency for subr_bus.c on bus_if.h and device_if.h so that a make
>  depend is not required to just build the kernel.

This is fairly bogus and doesn't actually work for `make -jN'.
First, subr_bus.c doesn't depend on *_if.h.  subr_bus.o depends
on them.  config(8) converts the dependency.  Second, several
other .o files depend on *_if.h.  This is handled for the usual
case by totally disordering the files list to put subr_bus.c
before the sources for the other object files.  This kludge fails
completely for `make -jN'.  The problem is handled for application
makefiles by making all .o files depend on all generated .h files
when .depend doesn't exist.  See bsd.prog.mk and about 100 log
messages for application makefiles.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809091815.EAA10016>