Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Apr 2002 12:19:30 -0700 (PDT)
From:      Brian Feldman <green@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 10281 for review
Message-ID:  <200204251919.g3PJJUH51976@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=10281

Change 10281 by green@green_laptop_2 on 2002/04/25 12:19:16

	Use ${DEFAULTKERNEL} and ${EXTRAKERNELS} instead of the single
	${KERNELS} variable to allow a release without GENERIC.

Affected files ...

... //depot/projects/trustedbsd/mac/release/Makefile#11 edit

Differences ...

==== //depot/projects/trustedbsd/mac/release/Makefile#11 (text+ko) ====

@@ -133,7 +133,8 @@
 CRYPTO_DISTS?=	crypto krb4 krb5
 BIN_DISTS?=	bin
 DISTRIBUTIONS?=	${BIN_DISTS} ${OTHER_DISTS} ${COMPAT_DISTS} ${CRYPTO_DISTS}
-KERNELS?=	GENERIC
+DEFAULTKERNEL?=	GENERIC
+EXTRAKERNELS?=	MAC
 
 BOOT1=	etc/defaults/rc.conf
 
@@ -459,7 +460,7 @@
 
 # Make and install the generic kernel(s).
 release.3:
-.for kernel in ${KERNELS}
+.for kernel in ${DEFAULTKERNEL} ${EXTRAKERNELS}
 	-chflags -R noschg ${RD}/kernels/${kernel}
 	rm -rf ${RD}/kernels/${kernel}
 	rm -rf ${.CURDIR}/../sys/${MACHINE}/compile/${kernel}
@@ -470,7 +471,7 @@
 .endfor
 	# Install a standard boot kernel+modules
 	mkdir -p ${RD}/trees/bin/boot/kernel
-	cp -Rp ${RD}/kernels/GENERIC/* ${RD}/trees/bin/boot/kernel
+	cp -Rp ${RD}/kernels/${DEFAULTKERNEL}/* ${RD}/trees/bin/boot/kernel
 	touch release.3
 
 # Make and install the three crunched binaries which live on the floppies.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204251919.g3PJJUH51976>