summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>2001-08-27 12:01:46 +0000
committerpaul <paul@FreeBSD.org>2001-08-27 12:01:46 +0000
commitf3c9efd4c480216b8b6bfc934bc9fba32f178901 (patch)
tree10782623515f9c2578d85df1a851fb077af9b7d2 /Makefile.inc1
parent10f5273e6ad34e6e2d7f940b68970d49d75ffbbf (diff)
downloadFreeBSD-src-f3c9efd4c480216b8b6bfc934bc9fba32f178901.zip
FreeBSD-src-f3c9efd4c480216b8b6bfc934bc9fba32f178901.tar.gz
Change the name of KRNLDEFDIR to KERNCONFDIR.
Suggested by Bruce, since the latter is more acceptable for a variable that is externally visible. Fix a style nit with a long line.
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc17
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index c69de4c..4d5e421 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -396,12 +396,12 @@ MACHINE= ${MACHINE_ARCH}
KRNLSRCDIR= ${.CURDIR}/sys
KRNLCONFDIR= ${KRNLSRCDIR}/${MACHINE}/conf
KRNLOBJDIR= ${OBJTREE}${KRNLSRCDIR}
-KRNLDEFDIR?= ${KRNLCONFDIR}
+KERNCONFDIR?= ${KRNLCONFDIR}
BUILDKERNELS=
INSTALLKERNEL=
.for _kernel in ${KERNCONF}
-.if exists(${KRNLDEFDIR}/${_kernel})
+.if exists(${KERNCONFDIR}/${_kernel})
BUILDKERNELS+= ${_kernel}
.if empty(INSTALLKERNEL)
INSTALLKERNEL= ${_kernel}
@@ -435,7 +435,8 @@ buildkernel:
.if !defined(NO_KERNELCONFIG)
cd ${KRNLCONFDIR}; \
PATH=${TMPPATH} \
- config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} ${KRNLDEFDIR}/${_kernel}
+ config ${CONFIGARGS} -d ${KRNLOBJDIR}/${_kernel} \
+ ${KERNCONFDIR}/${_kernel}
.endif
.if !defined(NOCLEAN) && !defined(NO_KERNELCLEAN)
cd ${KRNLOBJDIR}/${_kernel}; \
OpenPOWER on IntegriCloud