Sync with sys/i386/conf/Makefile.i386 revision 1.107.
This commit is contained in:
parent
2aacd1ab4f
commit
8d888fd611
@ -3,7 +3,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.pc98,v 1.24 1997/11/06 09:51:34 kato Exp $
|
||||
# $Id: Makefile.pc98,v 1.25 1997/12/20 02:37:55 kato Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -187,6 +187,9 @@ depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND}
|
||||
rm -f .depend
|
||||
mv -f .newdep .depend
|
||||
|
||||
cleandepend:
|
||||
rm -f .depend
|
||||
|
||||
links:
|
||||
egrep '#if' ${CFILES:Nswapkernel.c} | sed -f $S/conf/defines | \
|
||||
sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
|
||||
@ -203,16 +206,18 @@ install:
|
||||
echo "You must first build your kernel before trying to install." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
chflags noschg /kernel
|
||||
mv /kernel /kernel.old
|
||||
.if exists(${DESTDIR}/kernel)
|
||||
chflags noschg ${DESTDIR}/kernel
|
||||
mv ${DESTDIR}/kernel ${DESTDIR}/kernel.old
|
||||
.endif
|
||||
PATH=$${PATH}:/sbin:/usr/sbin; \
|
||||
if [ `sysctl -n kern.bootfile` = /kernel ] ; then \
|
||||
sysctl -w kern.bootfile=/kernel.old ; \
|
||||
if [ `sysctl -n kern.bootfile` = ${DESTDIR}/kernel ] ; then \
|
||||
sysctl -w kern.bootfile=${DESTDIR}/kernel.old ; \
|
||||
if [ -f /var/db/kvm_kernel.db ] ; then \
|
||||
mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \
|
||||
fi \
|
||||
fi
|
||||
install -c -m 555 -o root -g wheel -fschg kernel /
|
||||
install -c -m 555 -o root -g wheel -fschg kernel ${DESTDIR}/
|
||||
|
||||
ioconf.o: ioconf.c $S/sys/param.h $S/sys/buf.h \
|
||||
${I386}/isa/isa_device.h ${PC98}/pc98/pc98.h ${I386}/isa/icu.h
|
||||
|
@ -3,7 +3,7 @@
|
||||
# Makefile.i386 -- with config changes.
|
||||
# Copyright 1990 W. Jolitz
|
||||
# from: @(#)Makefile.i386 7.1 5/10/91
|
||||
# $Id: Makefile.pc98,v 1.24 1997/11/06 09:51:34 kato Exp $
|
||||
# $Id: Makefile.pc98,v 1.25 1997/12/20 02:37:55 kato Exp $
|
||||
#
|
||||
# Makefile for FreeBSD
|
||||
#
|
||||
@ -187,6 +187,9 @@ depend: assym.s param.c vnode_if.h ${BEFORE_DEPEND}
|
||||
rm -f .depend
|
||||
mv -f .newdep .depend
|
||||
|
||||
cleandepend:
|
||||
rm -f .depend
|
||||
|
||||
links:
|
||||
egrep '#if' ${CFILES:Nswapkernel.c} | sed -f $S/conf/defines | \
|
||||
sed -e 's/:.*//' -e 's/\.c/.o/' | sort -u > dontlink
|
||||
@ -203,16 +206,18 @@ install:
|
||||
echo "You must first build your kernel before trying to install." ; \
|
||||
exit 1 ; \
|
||||
fi
|
||||
chflags noschg /kernel
|
||||
mv /kernel /kernel.old
|
||||
.if exists(${DESTDIR}/kernel)
|
||||
chflags noschg ${DESTDIR}/kernel
|
||||
mv ${DESTDIR}/kernel ${DESTDIR}/kernel.old
|
||||
.endif
|
||||
PATH=$${PATH}:/sbin:/usr/sbin; \
|
||||
if [ `sysctl -n kern.bootfile` = /kernel ] ; then \
|
||||
sysctl -w kern.bootfile=/kernel.old ; \
|
||||
if [ `sysctl -n kern.bootfile` = ${DESTDIR}/kernel ] ; then \
|
||||
sysctl -w kern.bootfile=${DESTDIR}/kernel.old ; \
|
||||
if [ -f /var/db/kvm_kernel.db ] ; then \
|
||||
mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \
|
||||
fi \
|
||||
fi
|
||||
install -c -m 555 -o root -g wheel -fschg kernel /
|
||||
install -c -m 555 -o root -g wheel -fschg kernel ${DESTDIR}/
|
||||
|
||||
ioconf.o: ioconf.c $S/sys/param.h $S/sys/buf.h \
|
||||
${I386}/isa/isa_device.h ${PC98}/pc98/pc98.h ${I386}/isa/icu.h
|
||||
|
Loading…
Reference in New Issue
Block a user