Commit Graph

9 Commits

Author SHA1 Message Date
Peter Wemm
51c5836ce4 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.
1999-01-07 07:20:41 +00:00
Peter Wemm
5813daedb1 make aout-to-elf first does an a.out makeworld to bring the current
environment and tools up to date so it can then build an ELF world.
Teach it to cope with the a.out disable.
1999-01-07 06:30:14 +00:00
Peter Wemm
da942c6108 3.0-RELEASE and now the post-release 3.0-CURRENT were being declared
'too old' to run ELF.  Check the kernel version properly.
1998-10-17 05:40:46 +00:00
John Birrell
6f74911f7e Change 3.0-CURRENT to 3.0-BETA when deciding if the installed system
is current-enough (or is that beta-enough?).

Add a NOCONFIRM test for those brave souls who are game to upgrade
a system in blind faith.
1998-09-23 01:46:25 +00:00
John Birrell
3a823f727e Add a move-aout-libs target to do just that. It takes the well known
library directories: /usr/lib /usr/lib/compat /usr/local/lib and
/usr/X11R6/lib and adds any other directories that ldconfig knows
about, then removes any that are already aout directories (that is,
with aout as a component of the path) and passes this directory
list to the move_aout_libs.sh script to do the hack (believe it,
it moves libraries that are in use) work.
1998-09-09 06:02:31 +00:00
John Birrell
08d62a8cfe Change a hardcoded i386 reference to ${MACHINE} so that MACHINE=pc98
is supported properly.
1998-09-05 08:10:44 +00:00
John Birrell
1086db569a When creating /etc/objformat, respect DESTDIR.
Pointed out by: Zach Heilig -- zach@gaffaneys.com
1998-09-03 21:16:15 +00:00
John Birrell
f3c6146d5e Force the upgrade kernel to be aout. 1998-08-31 20:22:07 +00:00
John Birrell
11fb97daa7 E-day build system changes.
- Moved most of the guts of Makefile to Makefile.inc1 to become the
  backend for the build system.
- The new Makefile doesn't suffer from problems including the wrong
  sys.mk because it doesn't use anything in there or bsd.own.mk. So,
  from now on, the proper build command is just `make world' (or
  buildworld).
- The intermediate makefiles called Makefile.inc0 and Makefile.upgrade
  fiddle with the OBJFORMAT and MAKEOBJDIRPREFIX variables so that
  both aout and elf object trees can coexist. Makefile.upgrade contains
  the aout->elf transition build.
- A cross build environment is now very close to reality. Specifying
  TOOLDIR, setting OBJFORMAT and MAKEOBJDIRPREFIX allow that.

See the comments in Makefile for more info.
1998-08-31 01:08:08 +00:00