Source-Changes-HG archive

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

[src/trunk]: src Included sys/arc/sandpoint/stand/altboot in the build process.



details:   https://anonhg.NetBSD.org/src/rev/f9038840af5c
branches:  trunk
changeset: 761473:f9038840af5c
user:      phx <phx%NetBSD.org@localhost>
date:      Fri Jan 28 22:15:35 2011 +0000

description:
Included sys/arc/sandpoint/stand/altboot in the build process.
Install altboot and altboot.bin in /usr/mdec and copy them also into the
installation directory of the sandpoint release.

diffstat:

 distrib/sandpoint/Makefile                |  13 ++++++++++++-
 distrib/sets/lists/base/md.sandpoint      |   4 +++-
 sys/arch/sandpoint/Makefile               |   4 ++--
 sys/arch/sandpoint/stand/Makefile.inc     |   3 +++
 sys/arch/sandpoint/stand/altboot/Makefile |   3 ++-
 5 files changed, 22 insertions(+), 5 deletions(-)

diffs (65 lines):

diff -r 9293b29e6966 -r f9038840af5c distrib/sandpoint/Makefile
--- a/distrib/sandpoint/Makefile        Fri Jan 28 21:06:07 2011 +0000
+++ b/distrib/sandpoint/Makefile        Fri Jan 28 22:15:35 2011 +0000
@@ -1,8 +1,19 @@
-#      $NetBSD: Makefile,v 1.5 2007/10/25 14:20:55 nisimura Exp $
+#      $NetBSD: Makefile,v 1.6 2011/01/28 22:15:35 phx Exp $
+
+.include <bsd.own.mk>
+.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
+
+.include <bsd.kernobj.mk>
 
 SUBDIR=                ramdisk .WAIT md-kernel cdroms
 TARGETS+=      release
 
+BOOTOBJ!=      cd ${KERNSRCDIR}/arch/sandpoint/stand/altboot && ${PRINTOBJDIR}
+ALTBOOTERS=    ${BOOTOBJ}/altboot ${BOOTOBJ}/altboot.bin
+
+release: check_RELEASEDIR .WAIT ${ALTBOOTERS}
+       ${RELEASE_INSTALL} ${ALTBOOTERS} ${RELEASEDIR}/${RELEASEMACHINEDIR}/installation
+
 iso_image:
        ${MAKEDIRTARGET} cdroms iso_image
 
diff -r 9293b29e6966 -r f9038840af5c distrib/sets/lists/base/md.sandpoint
--- a/distrib/sets/lists/base/md.sandpoint      Fri Jan 28 21:06:07 2011 +0000
+++ b/distrib/sets/lists/base/md.sandpoint      Fri Jan 28 22:15:35 2011 +0000
@@ -1,2 +1,4 @@
-# $NetBSD: md.sandpoint,v 1.6 2008/11/29 17:57:34 tsutsui Exp $
+# $NetBSD: md.sandpoint,v 1.7 2011/01/28 22:15:35 phx Exp $
 ./dev/pms0                                     base-obsolete           obsolete
+./usr/mdec/altboot                             base-sysutil-bin
+./usr/mdec/altboot.bin                         base-sysutil-bin
diff -r 9293b29e6966 -r f9038840af5c sys/arch/sandpoint/Makefile
--- a/sys/arch/sandpoint/Makefile       Fri Jan 28 21:06:07 2011 +0000
+++ b/sys/arch/sandpoint/Makefile       Fri Jan 28 22:15:35 2011 +0000
@@ -1,5 +1,5 @@
-#      $NetBSD: Makefile,v 1.2 2003/01/06 17:40:47 lukem Exp $
+#      $NetBSD: Makefile,v 1.3 2011/01/28 22:15:36 phx Exp $
 
-SUBDIR=        compile include
+SUBDIR=        compile include stand
 
 .include <bsd.subdir.mk>
diff -r 9293b29e6966 -r f9038840af5c sys/arch/sandpoint/stand/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/sandpoint/stand/Makefile.inc     Fri Jan 28 22:15:35 2011 +0000
@@ -0,0 +1,3 @@
+#      $NetBSD: Makefile.inc,v 1.1 2011/01/28 22:15:36 phx Exp $
+
+BINDIR=                /usr/mdec
diff -r 9293b29e6966 -r f9038840af5c sys/arch/sandpoint/stand/altboot/Makefile
--- a/sys/arch/sandpoint/stand/altboot/Makefile Fri Jan 28 21:06:07 2011 +0000
+++ b/sys/arch/sandpoint/stand/altboot/Makefile Fri Jan 28 22:15:35 2011 +0000
@@ -1,8 +1,9 @@
-#      $NetBSD: Makefile,v 1.6 2011/01/27 16:13:51 phx Exp $
+#      $NetBSD: Makefile,v 1.7 2011/01/28 22:15:36 phx Exp $
 
 S=             ${.CURDIR}/../../../..
 
 PROG=          altboot
+FILES+=                ${PROG}.bin
 NOMAN=         # defined
 SRCS=          entry.S main.c brdsetup.c pci.c devopen.c dev_net.c nif.c
 SRCS+=         fxp.c tlp.c rge.c skg.c dsk.c pciide.c siisata.c printf.c



Home | Main Index | Thread Index | Old Index