Fix the ALL_KERNELS default value assignment, so that the double

quotes don't become a part of the value, causing all the targets
to be skipped by default.
This commit is contained in:
he 2013-01-30 13:47:36 +00:00
parent df76c7b4bf
commit 36984c64cc
2 changed files with 8 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.mdset,v 1.36 2013/01/13 14:43:23 mlelstv Exp $
# $NetBSD: Makefile.mdset,v 1.37 2013/01/30 13:47:36 he Exp $
#
# Makefile snippet to ${TOOL_MDSETIMAGE} file system images into kernels
#
@ -69,7 +69,9 @@ _MAKEFILE_MDSET_=1
.include <bsd.kernobj.mk>
ALL_KERNELS?= "+"
# The default is to build for all MDSETTARGETS
ALL_KERNELS?= +
.for _K _I _F in ${MDSETTARGETS} # {
.for currentsel in ${ALL_KERNELS} # {
.if ${currentsel} == "+" || ${_K} == ${currentsel}

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.23 2013/01/13 14:43:23 mlelstv Exp $
# $NetBSD: Makefile,v 1.24 2013/01/30 13:47:36 he Exp $
.include <bsd.own.mk>
.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
@ -62,7 +62,9 @@ TARGETS= ADI_BRH ADI_BRH ADI_BRH_sd0 \
0x00140000 netbsd-wd0
.endif
ALL_KERNELS?= "+"
# Default is to build for all TARGETS
ALL_KERNELS?= +
.for K G I R W in ${TARGETS} # {
.for configsel in ${ALL_KERNELS} # {
.if ${configsel} == "+" || ${configsel} == ${K}