Remove backwards compat layer which was added in r71419 (in 2001).

This change is not intended for MFC.

Reviewed by:	peter
This commit is contained in:
Eitan Adler 2013-05-26 14:54:06 +00:00
parent b3eb0ffbc9
commit 6cf6aae299

View File

@ -892,16 +892,11 @@ NO_KERNELOBJ= t
KERNCONF=${KERNFAST}
.endif
.endif
.if !defined(KERNCONF) && defined(KERNEL)
KERNCONF= ${KERNEL}
KERNWARN=
.else
.if ${TARGET_ARCH} == "powerpc64"
KERNCONF?= GENERIC64
.else
KERNCONF?= GENERIC
.endif
.endif
INSTKERNNAME?= kernel
KERNSRCDIR?= ${.CURDIR}/sys
@ -929,12 +924,6 @@ buildkernel:
.if empty(BUILDKERNELS)
@echo "ERROR: Missing kernel configuration file(s) (${KERNCONF})."; \
false
.endif
.if defined(KERNWARN)
@echo "--------------------------------------------------------------"
@echo ">>> WARNING: KERNEL= setting should be changed to KERNCONF="
@echo "--------------------------------------------------------------"
@sleep 3
.endif
@echo
.for _kernel in ${BUILDKERNELS}