Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib/x68k/floppies Build INSTALL kernel automatically.
details: https://anonhg.NetBSD.org/src/rev/80cafa332ae2
branches: trunk
changeset: 474444:80cafa332ae2
user: minoura <minoura%NetBSD.org@localhost>
date: Tue Jul 06 16:22:58 1999 +0000
description:
Build INSTALL kernel automatically.
obj directory handling for read-only /usr/src.
Refer DESTDIR.
diffstat:
distrib/x68k/floppies/bootfloppy-common/Makefile.inc | 8 ++++++--
distrib/x68k/floppies/bootfloppy/Makefile | 6 ++++--
distrib/x68k/floppies/ramdisk/Makefile | 9 ++-------
3 files changed, 12 insertions(+), 11 deletions(-)
diffs (73 lines):
diff -r bc2e2d318b5e -r 80cafa332ae2 distrib/x68k/floppies/bootfloppy-common/Makefile.inc
--- a/distrib/x68k/floppies/bootfloppy-common/Makefile.inc Tue Jul 06 15:11:14 1999 +0000
+++ b/distrib/x68k/floppies/bootfloppy-common/Makefile.inc Tue Jul 06 16:22:58 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.9 1999/04/07 14:30:52 minoura Exp $
+# $NetBSD: Makefile.inc,v 1.10 1999/07/06 16:22:59 minoura Exp $
# TOP is assumed to be defined by Makefile including this one.
@@ -13,6 +13,7 @@
IMAGE?= xxx-${REV}.fs
KERN?= netbsd-xxx
KERNNAME?= netbsd.xxx
+KERNSRC?= ${.CURDIR}/../../../../sys
GZNAME?= ${KERNNAME}.gz
MDEC= ${DESTDIR}/usr/mdec
@@ -59,6 +60,10 @@
mdsetimage -v netbsd.tmp ${RAMDISK}
mv -f netbsd.tmp ${.TARGET}
+${KERN}:
+ config -s ${KERNSRC} -b ${KERNDIR} ${KERNCNF}
+ ( cd ${KERNDIR} ; make depend && make )
+
${GZNAME}: ${KERNNAME}
gzip -cv9 ${KERNNAME} > ${.TARGET}
@@ -66,4 +71,3 @@
/bin/rm -f *.core ${IMAGE} ${CLEANFILES}
.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
diff -r bc2e2d318b5e -r 80cafa332ae2 distrib/x68k/floppies/bootfloppy/Makefile
--- a/distrib/x68k/floppies/bootfloppy/Makefile Tue Jul 06 15:11:14 1999 +0000
+++ b/distrib/x68k/floppies/bootfloppy/Makefile Tue Jul 06 16:22:58 1999 +0000
@@ -1,11 +1,13 @@
-# $NetBSD: Makefile,v 1.3 1999/04/07 14:30:52 minoura Exp $
+# $NetBSD: Makefile,v 1.4 1999/07/06 16:22:58 minoura Exp $
TOP= ${.CURDIR}/..
.include "${TOP}/Makefile.inc"
IMAGE= boot.fs
-KERN= ${.CURDIR}/../../../../sys/arch/x68k/compile/INSTALL/netbsd
+KERNCNF= ${.CURDIR}/../../../../sys/arch/x68k/conf/INSTALL
+KERNDIR= ${.CURDIR}/../../../../sys/arch/x68k/compile/INSTALL
+KERN= ${KERNDIR}/netbsd
KERNNAME= netbsd.INSTALL
.include "${TOP}/bootfloppy-common/Makefile.inc"
diff -r bc2e2d318b5e -r 80cafa332ae2 distrib/x68k/floppies/ramdisk/Makefile
--- a/distrib/x68k/floppies/ramdisk/Makefile Tue Jul 06 15:11:14 1999 +0000
+++ b/distrib/x68k/floppies/ramdisk/Makefile Tue Jul 06 16:22:58 1999 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/05/11 20:47:00 veego Exp $
+# $NetBSD: Makefile,v 1.11 1999/07/06 16:22:59 minoura Exp $
TOP= ${.CURDIR}/..
@@ -67,10 +67,5 @@
clean cleandir distclean:
/bin/rm -f ${AUXCLEAN} *.core ${IMAGE} ${CBIN} ${CBIN}.mk ${CBIN}.cache *.o *.cro *.c
-.if make(clean) || make(cleandir) || make(distclean) || make(depend) || make(obj)
-UTILDIR= ../../../utils
-SUBDIR+= ${UTILDIR}/init_s ${UTILDIR}/x_ifconfig ${UTILDIR}/x_route
-.endif
-
.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
+.include <bsd.sys.mk>
Home |
Main Index |
Thread Index |
Old Index