Add a new TARGET_CD_IMAGE variable which specifies single target ISO image,

to make debugging Makefile easier.

For example:
# make RELEASE=3.1 obj
# make RELEASE=3.1 TARGET_CD_IMAGE=sgimipscd fetch
# make RELEASE=3.1 TARGET_CD_IMAGE=sgimipscd

or:
# make RELEASE=current obj
# make RELEASE=current RSYNC_SITE=rsync://rsync.NetBSD.org/NetBSD-daily/HEAD/200702280002Z TARGET_CD_IMAGE=macppccd fetch
# make RELEASE=current TARGET_CD_IMAGE=macppccd

etc.
This commit is contained in:
tsutsui 2007-03-04 04:16:15 +00:00
parent 526ec18492
commit 327f43d18c
4 changed files with 20 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: 3.0.2.conf,v 1.1 2006/11/02 10:46:30 ghen Exp $
# $NetBSD: 3.0.2.conf,v 1.2 2007/03/04 04:16:15 tsutsui Exp $
#
# Makefile fragment for CD sets; includes config information.
@ -21,6 +21,9 @@ ISO_RELEASE?= ${CD_RELEASE}
# which are CD-image specific.
CD_IMAGES=
.if defined(TARGET_CD_IMAGE)
CD_IMAGES+= ${TARGET_CD_IMAGE}-${ISO_RELEASE}
.else
CD_IMAGES+= multi-cd1-${ISO_RELEASE}
CD_IMAGES+= multi-cd2-${ISO_RELEASE}
CD_IMAGES+= multi-cd3-${ISO_RELEASE}
@ -78,6 +81,7 @@ CD_IMAGES+= sun2cd-${ISO_RELEASE}
CD_IMAGES+= sun3cd-${ISO_RELEASE}
CD_IMAGES+= vaxcd-${ISO_RELEASE}
CD_IMAGES+= x68kcd-${ISO_RELEASE}
.endif
##############################################################################
# The maximum size of an individual CD.

View File

@ -1,4 +1,4 @@
# $NetBSD: 3.1.conf,v 1.1 2006/08/21 21:14:24 ghen Exp $
# $NetBSD: 3.1.conf,v 1.2 2007/03/04 04:16:15 tsutsui Exp $
#
# Makefile fragment for CD sets; includes config information.
@ -21,6 +21,9 @@ ISO_RELEASE?= ${CD_RELEASE}
# which are CD-image specific.
CD_IMAGES=
.if defined(TARGET_CD_IMAGE)
CD_IMAGES+= ${TARGET_CD_IMAGE}-${ISO_RELEASE}
.else
CD_IMAGES+= multi-cd1-${ISO_RELEASE}
CD_IMAGES+= multi-cd2-${ISO_RELEASE}
CD_IMAGES+= multi-cd3-${ISO_RELEASE}
@ -78,6 +81,7 @@ CD_IMAGES+= sun2cd-${ISO_RELEASE}
CD_IMAGES+= sun3cd-${ISO_RELEASE}
CD_IMAGES+= vaxcd-${ISO_RELEASE}
CD_IMAGES+= x68kcd-${ISO_RELEASE}
.endif
##############################################################################
# The maximum size of an individual CD.

View File

@ -1,4 +1,4 @@
# $NetBSD: 4.0.conf,v 1.1 2006/08/24 18:15:08 riz Exp $
# $NetBSD: 4.0.conf,v 1.2 2007/03/04 04:16:15 tsutsui Exp $
#
# Makefile fragment for CD sets; includes config information.
@ -21,6 +21,9 @@ ISO_RELEASE?= ${CD_RELEASE}
# which are CD-image specific.
CD_IMAGES=
.if defined(TARGET_CD_IMAGE)
CD_IMAGES= ${TARGET_CD_IMAGE}-${ISO_RELEASE}
.else
CD_IMAGES+= multi-cd1-${ISO_RELEASE}
CD_IMAGES+= multi-cd2-${ISO_RELEASE}
CD_IMAGES+= multi-cd3-${ISO_RELEASE}
@ -78,6 +81,7 @@ CD_IMAGES+= sun2cd-${ISO_RELEASE}
CD_IMAGES+= sun3cd-${ISO_RELEASE}
CD_IMAGES+= vaxcd-${ISO_RELEASE}
CD_IMAGES+= x68kcd-${ISO_RELEASE}
.endif
##############################################################################
# The maximum size of an individual CD.

View File

@ -1,4 +1,4 @@
# $NetBSD: current.conf,v 1.4 2006/03/14 09:19:16 hubertf Exp $
# $NetBSD: current.conf,v 1.5 2007/03/04 04:16:15 tsutsui Exp $
#
# Makefile fragment for CD sets; includes config information.
@ -21,6 +21,9 @@ ISO_RELEASE?= ${CD_RELEASE}
# which are CD-image specific.
CD_IMAGES=
.if defined(TARGET_CD_IMAGE)
CD_IMAGES= ${TARGET_CD_IMAGE}-${ISO_RELEASE}
.else
CD_IMAGES+= multi-cd1-${ISO_RELEASE}
CD_IMAGES+= multi-cd2-${ISO_RELEASE}
CD_IMAGES+= multi-cd3-${ISO_RELEASE}
@ -78,6 +81,7 @@ CD_IMAGES+= sun2cd-${ISO_RELEASE}
CD_IMAGES+= sun3cd-${ISO_RELEASE}
CD_IMAGES+= vaxcd-${ISO_RELEASE}
CD_IMAGES+= x68kcd-${ISO_RELEASE}
.endif
##############################################################################
# The maximum size of an individual CD.