From 72586d086ad344bee6a1d6af1c9c13da6df4e7d3 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 13 Jan 2015 01:12:51 +0000 Subject: for the install: target, use cmp as a rough attempt for avoiding repeated make install from Simon Nicolussi ok jsing tedu --- sys/arch/hppa64/conf/Makefile.hppa64 | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/arch/hppa64/conf') diff --git a/sys/arch/hppa64/conf/Makefile.hppa64 b/sys/arch/hppa64/conf/Makefile.hppa64 index 5ef95b83b52..a93c8e01c6b 100644 --- a/sys/arch/hppa64/conf/Makefile.hppa64 +++ b/sys/arch/hppa64/conf/Makefile.hppa64 @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.hppa64,v 1.51 2015/01/11 19:25:13 tedu Exp $ +# $OpenBSD: Makefile.hppa64,v 1.52 2015/01/13 01:12:49 deraadt Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -148,8 +148,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 -- cgit v1.2.3