Attached and included in the message is a patch to build multiple kernels=
:
Index: bsd.binpatch.mk
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/cvs/binpatch/bsd.binpatch.mk,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- bsd.binpatch.mk 23 Nov 2006 15:53:20 -0000 1.3
+++ bsd.binpatch.mk 23 Nov 2006 16:41:19 -0000 1.4
@@ -1,4 +1,4 @@
-# $erdelynet: bsd.binpatch.mk,v 1.3 2006/11/23 15:53:20 mike Exp $
+# $erdelynet: bsd.binpatch.mk,v 1.4 2006/11/23 16:41:19 mike Exp $
# Copyright (c) 2002-2005, Gerardo Santana G=DBmez Garrido=20
<ger...@gm...>
# All rights reserved.
#
@@ -76,12 +76,20 @@
# =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D SPE=
CIAL TARGETS & SHORTCUTS
# Subroutine to include for building a kernel patch
_kernel: .USE
+.for _kern in ${KERNEL}
cd ${WRKSRC}/sys/arch/${ARCH}/conf && \
- config ./${KERNEL} && \
- cd ../compile/${KERNEL} && \
+ config ./${_kern} && \
+ cd ../compile/${_kern} && \
${MAKE_ENV} make depend && \
${MAKE_ENV} make && \
- cp -p bsd ${WRKINST}
+ if [ ${_kern} =3D "GENERIC" ]; then \
+ cp -p bsd ${WRKINST}; \
+ elif [ ${_kern} =3D "GENERIC.MP" ]; then \
+ cp -p bsd ${WRKINST}/bsd.mp; \
+ else \
+ cp -p bsd ${WRKINST}/bsd.${_kern}; \
+ fi
+.endfor
# Shortcuts
_obj=3D${MAKE_ENV} make obj
|