Provide backwards compatable recognition of ${KERNEL}. You should be
able to use KERNEL= again with buildkernel, but it will point you at KERNCONF= and press on regardless.
This commit is contained in:
parent
9f3e2250ca
commit
2f74661cc7
@ -358,7 +358,12 @@ distribworld:
|
||||
# be set to cross-build, we have to make sure MACHINE is set
|
||||
# properly.
|
||||
|
||||
.if !defined(KERNCONF) && defined(KERNEL)
|
||||
KERNCONF= ${KERNEL}
|
||||
KERNWARN= yes
|
||||
.else
|
||||
KERNCONF?= GENERIC
|
||||
.endif
|
||||
INSTKERNNAME?= kernel
|
||||
|
||||
# The only exotic MACHINE_ARCH/MACHINE combination valid at this
|
||||
@ -392,6 +397,12 @@ 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}
|
||||
|
Loading…
Reference in New Issue
Block a user