summaryrefslogtreecommitdiffstats
path: root/sys/i386/conf/Makefile.i386
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1999-05-08 20:04:39 +0000
committerpeter <peter@FreeBSD.org>1999-05-08 20:04:39 +0000
commit3f78b53e891ab6209969f0df0bf383af3dac0ebe (patch)
tree6d5705a2d7f2f6a2738e8f6484b37081e46fb25a /sys/i386/conf/Makefile.i386
parente9652139316a76bebd5f73430914dd65bdb5d384 (diff)
downloadFreeBSD-src-3f78b53e891ab6209969f0df0bf383af3dac0ebe.zip
FreeBSD-src-3f78b53e891ab6209969f0df0bf383af3dac0ebe.tar.gz
I'm sick of the automatic rename of /kernel to /kernel.old while doing
development that leads to lots of crashes during boot. I have made a 'reinstall' target (like in ports, and reinstall.debug) This is most useful if you want to keep /kernel.old as a known bootable kernel. If you test a new kernel and have to reboot for a fix, a 'make reinstall' will install the new kernel over the top of the old non-viable one, leaving the old one untouched. This is mainly meant for development, not general users.
Diffstat (limited to 'sys/i386/conf/Makefile.i386')
-rw-r--r--sys/i386/conf/Makefile.i3866
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/i386/conf/Makefile.i386 b/sys/i386/conf/Makefile.i386
index 7615e77..d091926 100644
--- a/sys/i386/conf/Makefile.i386
+++ b/sys/i386/conf/Makefile.i386
@@ -1,7 +1,7 @@
# Makefile.i386 -- with config changes.
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.147 1999/04/19 14:14:08 peter Exp $
+# $Id: Makefile.i386,v 1.148 1999/04/24 21:38:50 peter Exp $
#
# Makefile for FreeBSD
#
@@ -241,6 +241,10 @@ install install.debug:
install -c -m 555 -o root -g wheel -fschg \
${KERNEL}${.TARGET:S/install//} ${DESTDIR}/${KERNEL}
+reinstall reinstall.debug:
+ install -c -m 555 -o root -g wheel -fschg \
+ ${KERNEL}${.TARGET:S/reinstall//} ${DESTDIR}/${KERNEL}
+
config.o:
${NORMAL_C}
OpenPOWER on IntegriCloud