make buildkernel fails without complete source tree

Bruce A. Mah bmah at freebsd.org
Thu Jan 18 18:27:45 UTC 2007


If memory serves me right, Murray Stokely wrote:
> On 1/18/07, Remko Lodder <remko at elvandar.org> wrote:
>>         This is not true. I downloaded the packages which are being used by sysinstall
>>         and extracted them. I found the Makefile, it was properly filled with instructions.
> 
> It looks to me like src/release/makefile builds the tar file ssys.tar
> by just tarring /usr/src/sys and therefore would in fact be missing
> /usr/src/Makefile and /usr/src/Makefile.inc1 necessary for "make
> buildkernel".
> 
> Taking a look at the tar file:
> 
> cat ssys.a?? > ssys.tar && tar tvf ssys.tar
> 
> I see that only files in /usr/src/sys are included.
> 
> We could add a tar -r -f .. /usr/src/Makefile /usr/src/Makefile.inc1
> to release.7 in /usr/src/release/Makefile to automatically add these
> two files as a special case to the ssys distribution.  CCing re@ for
> any comments on that proposal.

I vaguely remember this issue coming up before, and that we didn't make
any changes to packaging because that in order to use the buildkernel
target, one "should" have already done a buildworld, which requires the
complete source tree anyway.

(Maybe I'm mis-remembering...)

Bruce.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20070118/27731822/attachment.sig>


More information about the freebsd-doc mailing list