1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-01 12:19:28 +00:00

The upgrade process from 2.2.x -> 3.0-ELF assumes the existence of

GENERICupgrade, which got kinda fried.  Try to copy GENERIC if the
user has not supplied their own.
This commit is contained in:
Peter Wemm 1999-01-07 07:20:41 +00:00
parent c30fe42c78
commit 51c5836ce4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42369

View File

@ -1,5 +1,5 @@
#
# $Id: Makefile.upgrade,v 1.7 1998/10/17 05:40:45 peter Exp $
# $Id: Makefile.upgrade,v 1.8 1999/01/07 06:30:14 peter Exp $
#
# This makefile contains rules for preforming upgrades that are outside
# the scope of the normal build world process.
@ -205,12 +205,18 @@ ${MAKEOBJDIRPREFIX}/do_aout_kernel :
@echo "--------------------------------------------------------------"
.if exists(${.CURDIR}/sys/compile/GENERICupgrade)
@rm -rf ${.CURDIR}/sys/compile/GENERICupgrade
.endif
.if !exists(${.CURDIR}/sys/${MACHINE}/conf/GENERICupgrade)
-cp ${.CURDIR}/sys/${MACHINE}/conf/GENERIC \
${.CURDIR}/sys/${MACHINE}/conf/GENERICupgrade
.endif
@cd ${.CURDIR}/sys/${MACHINE}/conf; config GENERICupgrade
@-cd ${.CURDIR}/sys/compile/GENERICupgrade; \
OBJFORMAT=aout make depend && make all
OBJFORMAT=aout make KERNFORMAT=aout depend && \
OBJFORMAT=aout make KERNFORMAT=aout all
@cd ${.CURDIR}/sys/compile/GENERICupgrade; \
OBJFORMAT=aout make depend && make all
OBJFORMAT=aout make KERNFORMAT=aout depend && \
OBJFORMAT=aout make KERNFORMAT=aout all
.endif
@touch ${MAKEOBJDIRPREFIX}/do_aout_kernel