View | Details | Raw Unified | Return to bug 17536
Collapse All | Expand All

(-)Makefile.inc1 (-6 / +9 lines)
Lines 328-334 Link Here
328
# buildkernel and installkernel
328
# buildkernel and installkernel
329
#
329
#
330
# Which kernels to build and/or install is specified by setting
330
# Which kernels to build and/or install is specified by setting
331
# KERNEL. If not defined a GENERIC kernel is built/installed.
331
# KERNELS. If not defined a GENERIC kernel is built/installed.
332
# Only the existing (depending MACHINE) config files are used
332
# Only the existing (depending MACHINE) config files are used
333
# for building kernels and only the first of these is designated
333
# for building kernels and only the first of these is designated
334
# as the one being installed.
334
# as the one being installed.
Lines 338-344 Link Here
338
# be set to cross-build, we have to make sure MACHINE is set
338
# be set to cross-build, we have to make sure MACHINE is set
339
# properly.
339
# properly.
340
340
341
KERNEL?=	GENERIC GENERIC98
341
KERNELS?=	GENERIC GENERIC98
342
342
343
# The only exotic MACHINE_ARCH/MACHINE combination valid at this
343
# The only exotic MACHINE_ARCH/MACHINE combination valid at this
344
# time is i386/pc98. In all other cases set MACHINE equal to
344
# time is i386/pc98. In all other cases set MACHINE equal to
Lines 357-363 Link Here
357
357
358
BUILDKERNELS=
358
BUILDKERNELS=
359
INSTALLKERNEL=
359
INSTALLKERNEL=
360
.for _kernel in ${KERNEL}
360
.for _kernel in ${KERNELS}
361
.if exists(${KRNLCONFDIR}/${_kernel})
361
.if exists(${KRNLCONFDIR}/${_kernel})
362
BUILDKERNELS+=	${_kernel}
362
BUILDKERNELS+=	${_kernel}
363
.if empty(INSTALLKERNEL)
363
.if empty(INSTALLKERNEL)
Lines 384-391 Link Here
384
	cd ${KRNLOBJDIR}/${_kernel}; \
384
	cd ${KRNLOBJDIR}/${_kernel}; \
385
		MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx \
385
		MAKESRCPATH=${KRNLSRCDIR}/dev/aic7xxx \
386
		    ${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/Makefile; \
386
		    ${MAKE} -f ${KRNLSRCDIR}/dev/aic7xxx/Makefile; \
387
		${WMAKEENV} MACHINE=${MACHINE} ${MAKE} depend; \
387
		${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} \
388
		${WMAKEENV} MACHINE=${MACHINE} ${MAKE} all
388
		    ${MAKE} depend; \
389
		${WMAKEENV} MACHINE=${MACHINE} KERNEL=${_kernel} \
390
		    ${MAKE} all
389
.endfor
391
.endfor
390
392
391
#
393
#
Lines 395-401 Link Here
395
#
397
#
396
installkernel:
398
installkernel:
397
	cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
399
	cd ${KRNLOBJDIR}/${INSTALLKERNEL}; \
398
		${IMAKEENV} MACHINE=${MACHINE} ${MAKE} install
400
		${IMAKEENV} MACHINE=${MACHINE} KERNEL=${INSTALLKERNEL} \
401
		    ${MAKE} install
399
402
400
#
403
#
401
# update
404
# update

Return to bug 17536