misc/75864: FreeBSD 5.3 kern-developer install does not add Makefile in /usr/src

Eli K. Breen eli at gopostal.ca
Wed Jan 5 11:50:13 PST 2005

>Number:         75864
>Category:       misc
>Synopsis:       FreeBSD 5.3 kern-developer install does not add Makefile in /usr/src
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 05 19:50:12 GMT 2005
>Originator:     Eli K. Breen
>Release:        5.3
When installing FreeBSD 5.3-RELEASE and selecting the Kern-Developer install, which provides kernel sources in addition to the minimal install, there is no Makefile provided in /usr/src. This prevents recompiling the kernel as per the documentation throughout the FreeBSD website. The recommended procedure for compiling a new kernel is to cd /usr/src and run "make buildkernel or make installkernel". 

Simply adding the Makefile and Makefile.inc from a full-install 5.3-RELEASE machine allows for the kernel to be built and installed. (cd /usr/src && make buildkernel KERNCONF=FOO && make installkernel KERNCONF=FOO

Install FreeBSD 5.3-RELEASE from CD Media, install using standard install "kern-developer" (Installs kernel sources only). 
Once the install is complete, cd /usr/src in order to recompile the kernel.

ls -l Makefile. 
File not found
Standard install "kern-developer" should add the appropriate Makefile to /usr/src.

More information about the freebsd-bugs mailing list