summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/conf
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-02-09 03:59:16 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-02-09 03:59:16 +0000
commitc95a95dae60b9d76c1e54d2a4500d800719b79b9 (patch)
treee20632b7aaead1e91ad1afd1e15c402274fa3434 /sys/arch/arm64/conf
parenta03d74c28ae88ea0249c512b98cf80f0df457d3e (diff)
Check for the existence of /bsd before trying to back it up to /obsd.
Fixes 'make install' when /bsd is not present for some reason. ok rob florian, "fine with me" deraadt
Diffstat (limited to 'sys/arch/arm64/conf')
-rw-r--r--sys/arch/arm64/conf/Makefile.arm644
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/arm64/conf/Makefile.arm64 b/sys/arch/arm64/conf/Makefile.arm64
index 15378b09379..bd56f7a1427 100644
--- a/sys/arch/arm64/conf/Makefile.arm64
+++ b/sys/arch/arm64/conf/Makefile.arm64
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.arm64,v 1.26 2018/01/28 17:19:29 kettenis Exp $
+# $OpenBSD: Makefile.arm64,v 1.27 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
@@ -148,7 +148,7 @@ cpuswitch.o exception.o bcopy_page.o irq_dispatch.o support.o: assym.h
locore.o vectors.o trampoline.o: assym.h
hardlink-obsd:
- cmp -s bsd /bsd || ln -f /bsd /obsd
+ [[ ! -f /bsd ]] || cmp -s bsd /bsd || ln -f /bsd /obsd
newinstall:
umask 077 && cp bsd /nbsd && mv /nbsd /bsd && \