Source-Changes-HG archive

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

[src/trunk]: src/distrib/pmax Switch from "${DESTDIR}/usr/mdec/installboot" t...



details:   https://anonhg.NetBSD.org/src/rev/92d106591e8c
branches:  trunk
changeset: 524992:92d106591e8c
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Apr 03 06:38:26 2002 +0000

description:
Switch from "${DESTDIR}/usr/mdec/installboot" to "${INSTALLBOOT} -m ${MACHINE}"
so now at least that step is cross-buildable.

diffstat:

 distrib/pmax/instkernel/Makefile   |  7 +++----
 distrib/pmax/miniroot/Makefile.inc |  5 ++---
 2 files changed, 5 insertions(+), 7 deletions(-)

diffs (49 lines):

diff -r 6842cbfc1864 -r 92d106591e8c distrib/pmax/instkernel/Makefile
--- a/distrib/pmax/instkernel/Makefile  Wed Apr 03 06:34:31 2002 +0000
+++ b/distrib/pmax/instkernel/Makefile  Wed Apr 03 06:38:26 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.23 2002/03/28 03:18:56 lukem Exp $
+#      $NetBSD: Makefile,v 1.24 2002/04/03 06:38:26 lukem Exp $
 
 .include "${.CURDIR}/../../Makefile.inc"
 .include <bsd.own.mk>
@@ -13,11 +13,11 @@
 
 IMAGE=         diskimage
 IMAGESIZE=     4096b
+# MAKEFS_FLAGS=        -o density=32k                  # XXXDISTRIB
 
 LISTS=         ${.CURDIR}/list
 IMAGEENDIAN=   le
 IMAGEDEPENDS=  netbsd.gz ${DESTDIR}/usr/mdec/boot.pmax
-# MAKEFS_FLAGS=        -o density=32k                  # XXXDISTRIB
 
 CLEANFILES+=   netbsd netbsd.gz netbsd.ecoff netbsd.ecoff.gz \
                ${IMAGE} ${IMAGE}.gz
@@ -33,8 +33,7 @@
        gzip -9 netbsd
 
 ${IMAGE}.gz:   ${IMAGE}
-       ${DESTDIR}/usr/mdec/installboot ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
-                                               # XXXDISTRIB
+       ${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
        rm -f ${IMAGE}.gz
        gzip -9 ${IMAGE}
 
diff -r 6842cbfc1864 -r 92d106591e8c distrib/pmax/miniroot/Makefile.inc
--- a/distrib/pmax/miniroot/Makefile.inc        Wed Apr 03 06:34:31 2002 +0000
+++ b/distrib/pmax/miniroot/Makefile.inc        Wed Apr 03 06:38:26 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.7 2002/04/01 12:16:13 lukem Exp $
+#      $NetBSD: Makefile.inc,v 1.8 2002/04/03 06:38:26 lukem Exp $
 
 IMAGESIZE=     32m
 MAKEFS_FLAGS=  -f 15
@@ -13,6 +13,5 @@
                ${KERNOBJDIR}/GENERIC/netbsd.ecoff \
                ${KERNOBJDIR}/INSTALL/nfsnetbsd.ecoff
 
-# XXXIMAGE: installboot needs to be MI and work on image files
 image_md_post:
-       ${DESTDIR}/usr/mdec/installboot ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs
+       ${INSTALLBOOT} -m ${MACHINE} ${IMAGE} ${DESTDIR}/usr/mdec/bootxx_ffs



Home | Main Index | Thread Index | Old Index