summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2002-11-15 20:51:27 +0000
committerjhb <jhb@FreeBSD.org>2002-11-15 20:51:27 +0000
commitd0c04504bb70db27f6825656b70abc7045d48461 (patch)
treebfe1fe264d22e5abe05464add345e4d669f69f36
parent188bfc868bb0f53892d8bbf28b9148da1d40204f (diff)
downloadFreeBSD-src-d0c04504bb70db27f6825656b70abc7045d48461.zip
FreeBSD-src-d0c04504bb70db27f6825656b70abc7045d48461.tar.gz
Allow a person to specify NOCDROM to skip the cdrom.1 target during a
release build. PR: 45300 Submitted by: David Yeske <dyeske@yahoo.com>
-rw-r--r--release/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 9cb729e..1cf01aa 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -273,13 +273,16 @@ CRUNCH_TARGETS= boot fixit
FIXIT_TARGET= release.10
.endif
-EXTRAS= cdrom.1 ftp.1
+EXTRAS= ftp.1
+.if !defined(NOCDROM)
+EXTRAS+= cdrom.1
.if defined(MAKE_ISOS)
EXTRAS+= iso.1
.if ${TARGET} != "pc98"
BOOTABLE="-b"
.endif
.endif
+.endif
.if !defined(NODOC)
DOCREL= doc.1 doc.2
@@ -404,7 +407,7 @@ rerelease release:
AUTO_KEYBOARD_DETECT BOOT_CONFIG BUILDNAME \
CD_EXTRA_BITS DISTRIBUTIONS DOC_LANG DOMINIMALDOCPORTS \
EXTRA_SRC FIXCRYPTO KERNELS KERNEL_FLAGS \
- MAKE_ISOS NODOC NO_FLOPPIES NOKERBEROS NOPORTS NOSHARED \
+ MAKE_ISOS NOCDROM NODOC NO_FLOPPIES NOKERBEROS NOPORTS NOSHARED \
NOSRC NO_SENDMAIL RELEASETAG \
RELNOTES_LANG TARGET TARGET_ARCH WORLD_FLAGS
.if defined(${var})
OpenPOWER on IntegriCloud