Source-Changes-HG archive

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

[src/trunk]: src/etc explicitly pass MACHINE and MACHINE_ARCH to MAKEDEV.awk ...



details:   https://anonhg.NetBSD.org/src/rev/cff2c6b181ec
branches:  trunk
changeset: 555349:cff2c6b181ec
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Sat Nov 15 08:50:26 2003 +0000

description:
explicitly pass MACHINE and MACHINE_ARCH to MAKEDEV.awk via environment,
so that this works as expected when not invoked via build.sh

diffstat:

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

diffs (18 lines):

diff -r 47fd44dce7db -r cff2c6b181ec etc/Makefile
--- a/etc/Makefile      Sat Nov 15 08:44:18 2003 +0000
+++ b/etc/Makefile      Sat Nov 15 08:50:26 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.261 2003/10/26 23:34:29 cl Exp $
+#      $NetBSD: Makefile,v 1.262 2003/11/15 08:50:26 jdolecek Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -146,7 +146,7 @@
 
 .PHONY: MAKEDEV
 MAKEDEV:
-       awk -v ETCDIR="${.CURDIR}" -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl > ${.TARGET}
+       MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH} awk -v ETCDIR="${.CURDIR}" -f ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl > ${.TARGET}
 
        
 



Home | Main Index | Thread Index | Old Index