Bug 22

Summary: Cannot use links to share kernel objects
Product: Base System Reporter: Richard Wackerbarth <rkw>
Component: confAssignee: Bruce Evans <bde>
Status: Closed FIXED    
Severity: Affects Only Me CC: bellalucy320, blowsoft1, cayen14422, contacto2, patricmorrisonpubg
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Richard Wackerbarth 1994-11-18 14:50:02 UTC
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.

Fix: 

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

524c524
<                               fprintf(fp, "%s ", swapname);
---
>                               fprintf(fp, "./%s ", swapname);
How-To-Repeat: cd /sys/compile/GENERIC
make
cd /sys/compile/xx
make clean
make links
Comment 1 pst freebsd_committer freebsd_triage 1996-02-07 07:22:01 UTC
Responsible Changed
From-To: core->bde

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. 
Comment 2 gpalmer freebsd_committer freebsd_triage 1996-04-30 20:44:01 UTC
State Changed
From-To: open->closed

Just worked fine for me using -current
Comment 3 Zarato 2019-03-11 14:09:50 UTC
MARKED AS SPAM
Comment 4 Patrick Morison 2019-10-01 19:17:48 UTC
MARKED AS SPAM
Comment 5 bella alucy 2020-05-15 16:23:38 UTC
MARKED AS SPAM
Comment 6 cayen14422 2020-11-11 15:39:29 UTC
MARKED AS SPAM
Comment 7 Ahtisham 2020-11-19 10:22:31 UTC
MARKED AS SPAM
Comment 8 cayen14422 2021-03-04 16:08:02 UTC
MARKED AS SPAM