Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/etc Always install GENERIC in the kernels directory.



details:   https://anonhg.NetBSD.org/src/rev/f8e309f11a75
branches:  trunk
changeset: 482709:f8e309f11a75
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Sun Feb 20 03:10:50 2000 +0000

description:
Always install GENERIC in the kernels directory.

diffstat:

 etc/Makefile |  28 +++++++---------------------
 1 files changed, 7 insertions(+), 21 deletions(-)

diffs (54 lines):

diff -r 2e58377c844a -r f8e309f11a75 etc/Makefile
--- a/etc/Makefile      Sun Feb 20 01:03:13 2000 +0000
+++ b/etc/Makefile      Sun Feb 20 03:10:50 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.134 2000/02/14 18:37:39 erh Exp $
+#      $NetBSD: Makefile,v 1.135 2000/02/20 03:10:50 mycroft Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -282,38 +282,24 @@
 #
 .if !target(snap_kern)
 snap_kern:
-       cd ${KERNCONFDIR} && ${CONFIG} \
-               -b ${KERNOBJDIR}/GENERIC -s ${KERNSRCDIR} GENERIC
-.ifndef UPDATE
-       cd ${KERNOBJDIR}/GENERIC && ${MAKE} clean 
-.endif
-       cd ${KERNOBJDIR}/GENERIC && ${MAKE} depend && ${MAKE} ${_J}
-       cd ${KERNOBJDIR}/GENERIC &&     \
-               tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\
-               gzip -c -9 > ${RELEASEDIR}/binary/sets/kern.tgz
-# XXX use same loop for ${EXTRA_KERNELS} and ${BUILD_KERNELS} but
-# XXX only install ${EXTRA_KERNELS} in binary/kernel???
-.for configfile in ${EXTRA_KERNELS}
+.for configfile in GENERIC ${EXTRA_KERNELS} ${BUILD_KERNELS}
        cd ${KERNCONFDIR} && ${CONFIG} \
                -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
 .ifndef UPDATE
        cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 
 .endif
        cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J}
+.endfor # kernels
+       cd ${KERNOBJDIR}/GENERIC &&     \
+               tar cf - `${GETKERNELAWK} ${KERNCONFDIR}/GENERIC` |\
+               gzip -c -9 > ${RELEASEDIR}/binary/sets/kern.tgz
+.for configfile in GENERIC ${EXTRA_KERNELS}
        cd ${KERNOBJDIR}/${configfile} &&       \
                for kernel in `${GETKERNELAWK} \
                        ${KERNCONFDIR}/${configfile}` ; {   \
                gzip -c -9 < $${kernel} > \
                        ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz ; }
 .endfor # EXTRA_KERNELS
-.for configfile in ${BUILD_KERNELS}
-       cd ${KERNCONFDIR} && ${CONFIG} \
-               -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
-.ifndef UPDATE
-       cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 
-.endif
-       cd ${KERNOBJDIR}/${configfile} && ${MAKE} depend && ${MAKE} ${_J}
-.endfor # BUILD_KERNELS
 .endif # no target(snap_kern)
 
 .endif # RELEASEDIR check



Home | Main Index | Thread Index | Old Index