Deleted Added
full compact
Makefile.i386 (43209) Makefile.i386 (43994)
1# Makefile.i386 -- with config changes.
2# Copyright 1990 W. Jolitz
3# from: @(#)Makefile.i386 7.1 5/10/91
1# Makefile.i386 -- with config changes.
2# Copyright 1990 W. Jolitz
3# from: @(#)Makefile.i386 7.1 5/10/91
4# $Id: Makefile.i386,v 1.137 1999/01/25 04:08:28 peter Exp $
4# $Id: Makefile.i386,v 1.138 1999/01/26 02:49:51 julian Exp $
5#
6# Makefile for FreeBSD
7#
8# This makefile is constructed from a machine description:
9# config machineid
10# Most changes should be made in the machine description
11# /sys/i386/conf/``machineid''
12# after which you should do

--- 202 unchanged lines hidden (view full) ---

215 echo "Please be sure you have upgraded your bootblocks and/or /boot/loader so" ; \
216 echo "that you can boot it. Old bootblocks WILL NOT WORK! Please read:" ; \
217 echo "http://www.freebsd.org/~peter/elfday.html for information." ; \
218 echo "If you are satisfied you can boot an ELF kernel, type: make -DFORCE install" ; \
219 exit 1 ; \
220 fi
221.endif
222.if exists(${DESTDIR}/kernel)
5#
6# Makefile for FreeBSD
7#
8# This makefile is constructed from a machine description:
9# config machineid
10# Most changes should be made in the machine description
11# /sys/i386/conf/``machineid''
12# after which you should do

--- 202 unchanged lines hidden (view full) ---

215 echo "Please be sure you have upgraded your bootblocks and/or /boot/loader so" ; \
216 echo "that you can boot it. Old bootblocks WILL NOT WORK! Please read:" ; \
217 echo "http://www.freebsd.org/~peter/elfday.html for information." ; \
218 echo "If you are satisfied you can boot an ELF kernel, type: make -DFORCE install" ; \
219 exit 1 ; \
220 fi
221.endif
222.if exists(${DESTDIR}/kernel)
223 chflags noschg ${DESTDIR}/kernel
223 -chflags noschg ${DESTDIR}/kernel
224 mv ${DESTDIR}/kernel ${DESTDIR}/kernel.old
225.endif
226 PATH=$${PATH}:/sbin:/usr/sbin; \
227 if [ `sysctl -n kern.bootfile` = ${DESTDIR}/kernel ] ; then \
228 sysctl -w kern.bootfile=${DESTDIR}/kernel.old ; \
229 if [ -f /var/db/kvm_kernel.db ] ; then \
230 mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \
231 fi \

--- 40 unchanged lines hidden ---
224 mv ${DESTDIR}/kernel ${DESTDIR}/kernel.old
225.endif
226 PATH=$${PATH}:/sbin:/usr/sbin; \
227 if [ `sysctl -n kern.bootfile` = ${DESTDIR}/kernel ] ; then \
228 sysctl -w kern.bootfile=${DESTDIR}/kernel.old ; \
229 if [ -f /var/db/kvm_kernel.db ] ; then \
230 mv -f /var/db/kvm_kernel.db /var/db/kvm_kernel.old.db ; \
231 fi \

--- 40 unchanged lines hidden ---