When BSDSRCDIR is set through /etc/mk.conf or ${MAKECONF} to something
other than the default of /usr/src, make obj won't use symlinks for
`obj' in the affected directories.

Index: distrib/luna88k/Makefile.inc
===================================================================
RCS file: /cvs/src/distrib/luna88k/Makefile.inc,v
retrieving revision 1.1
diff -p -u -r1.1 Makefile.inc
--- distrib/luna88k/Makefile.inc        21 Apr 2004 18:40:18 -0000      1.1
+++ distrib/luna88k/Makefile.inc        23 Apr 2013 01:30:56 -0000
@@ -3,7 +3,3 @@
 REV=${OSrev}
 
 LDSTATIC=-static
-
-# Hack needed to find kernel images...
-BSDSRCDIR?=/usr/src
-SRCSYSDIR?=${BSDSRCDIR}/sys
Index: distrib/mvme68k/Makefile.inc
===================================================================
RCS file: /cvs/src/distrib/mvme68k/Makefile.inc,v
retrieving revision 1.3
diff -p -u -r1.3 Makefile.inc
--- distrib/mvme68k/Makefile.inc        24 Jan 2000 04:50:25 -0000      1.3
+++ distrib/mvme68k/Makefile.inc        23 Apr 2013 01:30:56 -0000
@@ -3,7 +3,3 @@
 REV=${OSrev}
 
 LDSTATIC=      -static
-
-# Hack needed to find kernel images...
-BSDSRCDIR?=    /usr/src
-SRCSYSDIR?=    ${BSDSRCDIR}/sys
Index: distrib/mvme88k/Makefile.inc
===================================================================
RCS file: /cvs/src/distrib/mvme88k/Makefile.inc,v
retrieving revision 1.2
diff -p -u -r1.2 Makefile.inc
--- distrib/mvme88k/Makefile.inc        7 Aug 2003 20:57:03 -0000       1.2
+++ distrib/mvme88k/Makefile.inc        23 Apr 2013 01:30:56 -0000
@@ -3,7 +3,3 @@
 REV=${OSrev}
 
 LDSTATIC=-static
-
-# Hack needed to find kernel images...
-BSDSRCDIR?=/usr/src
-SRCSYSDIR?=${BSDSRCDIR}/sys

Reply via email to