Source-Changes-HG archive

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

[src/trunk]: src/etc Use ${CONFIG} rather than config so cross-builds can cor...



details:   https://anonhg.NetBSD.org/src/rev/71d5c515aa1f
branches:  trunk
changeset: 476411:71d5c515aa1f
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Thu Sep 16 00:30:06 1999 +0000

description:
Use ${CONFIG} rather than config so cross-builds can correctly select which one to use.

diffstat:

 etc/Makefile |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r b7cb4343b899 -r 71d5c515aa1f etc/Makefile
--- a/etc/Makefile      Thu Sep 16 00:28:31 1999 +0000
+++ b/etc/Makefile      Thu Sep 16 00:30:06 1999 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.124 1999/08/21 06:27:29 simonb Exp $
+#      $NetBSD: Makefile,v 1.125 1999/09/16 00:30:06 sommerfeld Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -277,7 +277,7 @@
 #
 .if !target(snap_kern)
 snap_kern:
-       cd ${KERNCONFDIR} && config \
+       cd ${KERNCONFDIR} && ${CONFIG} \
                -b ${KERNOBJDIR}/GENERIC -s ${KERNSRCDIR} GENERIC
 .ifndef UPDATE
        cd ${KERNOBJDIR}/GENERIC && ${MAKE} clean 
@@ -289,7 +289,7 @@
 # XXX use same loop for ${EXTRA_KERNELS} and ${BUILD_KERNELS} but
 # XXX only install ${EXTRA_KERNELS} in binary/kernel???
 .for configfile in ${EXTRA_KERNELS}
-       cd ${KERNCONFDIR} && config \
+       cd ${KERNCONFDIR} && ${CONFIG} \
                -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
 .ifndef UPDATE
        cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 
@@ -302,7 +302,7 @@
                        ${RELEASEDIR}/binary/kernel/$${kernel}.${configfile}.gz ; }
 .endfor # EXTRA_KERNELS
 .for configfile in ${BUILD_KERNELS}
-       cd ${KERNCONFDIR} && config \
+       cd ${KERNCONFDIR} && ${CONFIG} \
                -b ${KERNOBJDIR}/${configfile} -s ${KERNSRCDIR} ${configfile}
 .ifndef UPDATE
        cd ${KERNOBJDIR}/${configfile} && ${MAKE} clean 



Home | Main Index | Thread Index | Old Index