summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/conf/Makefile.socppc
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/socppc/conf/Makefile.socppc')
-rw-r--r--sys/arch/socppc/conf/Makefile.socppc5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/socppc/conf/Makefile.socppc b/sys/arch/socppc/conf/Makefile.socppc
index 5e5b793a62e..b9406f4e7c4 100644
--- a/sys/arch/socppc/conf/Makefile.socppc
+++ b/sys/arch/socppc/conf/Makefile.socppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.socppc,v 1.41 2015/01/11 19:25:14 tedu Exp $
+# $OpenBSD: Makefile.socppc,v 1.42 2015/01/13 01:12:50 deraadt Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -146,8 +146,7 @@ MACHINE_NAME!= uname -n
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
- rm -f /obsd
- ln /bsd /obsd
+ cmp -s bsd /bsd || ln -f /bsd /obsd
cp bsd /nbsd
mv /nbsd /bsd
.endif