Fixes 'make install' when /bsd is not present for some reason.
ok rob florian, "fine with me" deraadt
-# $OpenBSD: Makefile.alpha,v 1.110 2017/11/04 16:04:15 florian Exp $
+# $OpenBSD: Makefile.alpha,v 1.111 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
locore.o: ${_machdir}/${_mach}/locore.s 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 && \
-# $OpenBSD: Makefile.amd64,v 1.95 2017/11/04 16:04:15 florian Exp $
+# $OpenBSD: Makefile.amd64,v 1.96 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
mptramp.o acpi_wakecode.o vmm_support.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 && \
-# $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.
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 && \
-# $OpenBSD: Makefile.armv7,v 1.38 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.armv7,v 1.39 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
${_mach}_start.o locore.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 && \
-# $OpenBSD: Makefile.hppa,v 1.104 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.hppa,v 1.105 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
fpemu.o spcopy.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 && \
-# $OpenBSD: Makefile.i386,v 1.121 2018/01/25 14:09:52 mpi Exp $
+# $OpenBSD: Makefile.i386,v 1.122 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
kvm86call.o acpi_wakecode.o vmm_support.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 && \
-# $OpenBSD: Makefile.landisk,v 1.76 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.landisk,v 1.77 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
locore_subr.o vectors.o in_cksum.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 && \
-# $OpenBSD: Makefile.loongson,v 1.69 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.loongson,v 1.70 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
pmon32.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 && \
-# $OpenBSD: Makefile.luna88k,v 1.79 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.luna88k,v 1.80 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
locore.o eh.o mutex.o process.o subr.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 && \
-# $OpenBSD: Makefile.macppc,v 1.93 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.macppc,v 1.94 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
mutex.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 && \
-# $OpenBSD: Makefile.octeon,v 1.48 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.octeon,v 1.49 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
mips64r2.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 && \
-# $OpenBSD: Makefile.sgi,v 1.93 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.sgi,v 1.94 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
cache_tfp_subr.o ip30_nmi.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 && \
-# $OpenBSD: Makefile.socppc,v 1.58 2017/09/28 16:16:34 patrick Exp $
+# $OpenBSD: Makefile.socppc,v 1.59 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
install: install-kernel-${MACHINE_NAME}
.if !target(install-kernel-${MACHINE_NAME}})
install-kernel-${MACHINE_NAME}:
- cmp -s bsd /bsd || ln -f /bsd /obsd
+ [[ ! -f /bsd ]] || cmp -s bsd /bsd || ln -f /bsd /obsd
umask 077; cp bsd /nbsd
mv /nbsd /bsd
.endif
-# $OpenBSD: Makefile.sparc64,v 1.96 2017/11/04 16:04:16 florian Exp $
+# $OpenBSD: Makefile.sparc64,v 1.97 2018/02/09 03:59:15 tb Exp $
# For instructions on building kernels consult the config(8) and options(4)
# manual pages.
hvcall.o in_cksum.o mutex.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 && \