Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jan 2005 19:45:00 GMT
From:      "Eli K. Breen" <eli@gopostal.ca>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/75864: FreeBSD 5.3 kern-developer install does not add Makefile in /usr/src
Message-ID:  <200501051945.j05Jj0Pt085744@www.freebsd.org>
Resent-Message-ID: <200501051950.j05JoCO1077379@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 05 19:50:12 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Eli K. Breen
>Release:        5.3
>Organization:
>Environment:
FreeBSD 5.3-RELEASE
>Description:
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

Cheers.
>How-To-Repeat:
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
>Fix:
Standard install "kern-developer" should add the appropriate Makefile to /usr/src.
>Release-Note:
>Audit-Trail:
>Unformatted:



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