summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-05-02 21:40:50 +0000
committerjoerg <joerg@FreeBSD.org>1996-05-02 21:40:50 +0000
commit48edb949426259fc48eb67bef88e60b0f6741254 (patch)
treed0c66bc82ac7b15b67105b8a6fc6ea4374c15a70 /sys/conf
parent1fb004d85ee9e8b78ca34943ca0ad7e3dce8273f (diff)
downloadFreeBSD-src-48edb949426259fc48eb67bef88e60b0f6741254.zip
FreeBSD-src-48edb949426259fc48eb67bef88e60b0f6741254.tar.gz
Replace the dependency of `install' from `kernel' by a test for the
existance fo `kernel'. Submitted by: peter
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/Makefile.i3868
-rw-r--r--sys/conf/Makefile.powerpc8
2 files changed, 12 insertions, 4 deletions
diff --git a/sys/conf/Makefile.i386 b/sys/conf/Makefile.i386
index 6fcdbfc..132ebbb 100644
--- a/sys/conf/Makefile.i386
+++ b/sys/conf/Makefile.i386
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.79 1996/04/27 07:30:49 joerg Exp $
+# $Id: Makefile.i386,v 1.80 1996/05/02 14:19:35 phk Exp $
#
# Makefile for FreeBSD
#
@@ -155,7 +155,11 @@ links:
tags:
@echo "see $S/kern/Makefile for tags"
-install: kernel
+install:
+ @if [ ! -f kernel ] ; then \
+ echo "You must first build your kernel before trying to install." ; \
+ exit 1 ; \
+ fi
chflags noschg /kernel
mv /kernel /kernel.old
if [ `sysctl -n kern.bootfile` = /kernel ] ; then \
diff --git a/sys/conf/Makefile.powerpc b/sys/conf/Makefile.powerpc
index 6fcdbfc..132ebbb 100644
--- a/sys/conf/Makefile.powerpc
+++ b/sys/conf/Makefile.powerpc
@@ -1,6 +1,6 @@
# Copyright 1990 W. Jolitz
# from: @(#)Makefile.i386 7.1 5/10/91
-# $Id: Makefile.i386,v 1.79 1996/04/27 07:30:49 joerg Exp $
+# $Id: Makefile.i386,v 1.80 1996/05/02 14:19:35 phk Exp $
#
# Makefile for FreeBSD
#
@@ -155,7 +155,11 @@ links:
tags:
@echo "see $S/kern/Makefile for tags"
-install: kernel
+install:
+ @if [ ! -f kernel ] ; then \
+ echo "You must first build your kernel before trying to install." ; \
+ exit 1 ; \
+ fi
chflags noschg /kernel
mv /kernel /kernel.old
if [ `sysctl -n kern.bootfile` = /kernel ] ; then \
OpenPOWER on IntegriCloud