aboutsummaryrefslogtreecommitdiff
path: root/sys/conf/Makefile.pc98
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-04-25 20:56:15 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-04-25 20:56:15 +0000
commitea87b3cb61eb4f90e6d2b6a0ea81cf77a54819ef (patch)
tree2df3cfa8a3316781de008f1b76142378dfcc6c19 /sys/conf/Makefile.pc98
parent58c9a2077135bccd57c75bdb06f7fa1d84fa5e16 (diff)
Notes
Diffstat (limited to 'sys/conf/Makefile.pc98')
-rw-r--r--sys/conf/Makefile.pc9811
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/conf/Makefile.pc98 b/sys/conf/Makefile.pc98
index d132d3ef1328..bce1d593be03 100644
--- a/sys/conf/Makefile.pc98
+++ b/sys/conf/Makefile.pc98
@@ -255,23 +255,16 @@ kernel-install kernel-install.debug:
fi
.if exists(${DESTDIR}${KODIR})
.if exists(${DESTDIR}${KODIR}.old)
- @-chflags -R noschg ${DESTDIR}${KODIR}.old
-rm -rf ${DESTDIR}${KODIR}.old
.endif
mv ${DESTDIR}${KODIR} ${DESTDIR}${KODIR}.old
.endif
mkdir -p ${DESTDIR}${KODIR}
- @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \
- chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \
- fi
- install -c -m 555 -o root -g wheel -fschg \
+ install -c -m 555 -o root -g wheel \
${KERNEL_KO}${.TARGET:S/kernel-install//} ${DESTDIR}${KODIR}
kernel-reinstall kernel-reinstall.debug:
- @-if [ -f ${DESTDIR}${KODIR}/${KERNEL_KO} ] ; then \
- chflags noschg ${DESTDIR}${KODIR}/${KERNEL_KO} ; \
- fi
- install -c -m 555 -o root -g wheel -fschg \
+ install -c -m 555 -o root -g wheel \
${KERNEL_KO}${.TARGET:S/kernel-reinstall//} ${DESTDIR}${KODIR}
.if !defined(MODULES_WITH_WORLD) && !defined(NO_MODULES) && exists($S/modules)