From wacky@eel.dataplex.net  Fri Nov 18 14:48:37 1994
Received: from eel.dataplex.net (EEL.DATAPLEX.NET [199.183.109.245]) by freefall.cdrom.com (8.6.8/8.6.6) with ESMTP id OAA13427 for <FreeBSD-gnats-submit@freebsd.org>; Fri, 18 Nov 1994 14:48:36 -0800
Received: (from root@localhost) by eel.dataplex.net (8.6.9/8.6.9) id QAA06028; Fri, 18 Nov 1994 16:48:39 -0600
Message-Id: <199411182248.QAA06028@eel.dataplex.net>
Date: Fri, 18 Nov 1994 16:48:39 -0600
From: rkw@dataplex.net
Reply-To: rkw@dataplex.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: Problem building multiple kernels.
X-Send-Pr-Version: 3.2

>Number:         22
>Category:       conf
>Synopsis:       Cannot use links to share kernel objects
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bde
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 18 14:50:02 1994
>Closed-Date:    Tue Apr 30 12:44:01 PDT 1996
>Last-Modified:  Tue Apr 30 12:44:40 PDT 1996
>Originator:     Richard Wackerbarth
>Release:        FreeBSD 2.1.0-Development i386
>Organization:
The Digital Dataplex
>Environment:
>Description:
Makefile cannot "make links" to allow sharing between similar kernels.
You are supposed to be able to make GENERIC and then make links to those
objects which do not depend on the options.

Makefile chokes on "swapkernel" entry in CFILES.

It needs a prefix path.

>How-To-Repeat:
cd /sys/compile/GENERIC
make
cd /sys/compile/xx
make clean
make links

>Fix:
Generate a file reference of ./swapkernel in the Makefile.
In config/mkmakefile.c

524c524
<                               fprintf(fp, "%s ", swapname);
---
>                               fprintf(fp, "./%s ", swapname);

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: core->bde 
Responsible-Changed-By: pst 
Responsible-Changed-When: Tue Feb 6 23:22:01 PST 1996 
Responsible-Changed-Why:  
Please fix or pass on to appropriate individual. 
Make links is still supported in the makefile so I'm going to treat 
this like a software bug instead of a documentation bug.  It would be nice 
if this worked. 
State-Changed-From-To: open->closed 
State-Changed-By: gpalmer 
State-Changed-When: Tue Apr 30 12:44:01 PDT 1996 
State-Changed-Why:  
Just worked fine for me using -current 
>Unformatted:
