handle KERNELS as before

Submitted by:	ru, andrew
This commit is contained in:
Sam Leffler 2006-03-09 17:11:17 +00:00
parent 8e8f0765ab
commit d336d34dba
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156507

View File

@ -177,10 +177,9 @@ DISTRIBUTIONS?= ${BASE_DISTS} ${OTHER_DISTS}
# Build and package both GENERIC and SMP kernels if the target
# has both configuration files. Otherwise only GENERIC is done.
#
KERNELS+= GENERIC
.if !exists(${.CURDIR}/../sys/${TARGET}/conf/SMP)
KERNELS?= GENERIC
.else
KERNELS?= GENERIC SMP
KERNELS+= SMP
.endif
# mountpoint for filesystems.