make buildkernel fails without complete source tree

Murray Stokely murray.stokely at gmail.com
Thu Jan 18 18:08:29 UTC 2007


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.

               - Murray



More information about the freebsd-doc mailing list