1# |
2# $FreeBSD: head/Makefile 108451 2002-12-30 16:48:35Z schweikh $ |
3# 4# The user-driven targets are: 5# 6# universe - *Really* build *everything*: Buildworld and 7# all kernels on all architectures. 8# buildworld - Rebuild *everything*, including glue to help do 9# upgrades. 10# installworld - Install everything built by "buildworld". 11# world - buildworld + installworld. 12# buildkernel - Rebuild the kernel and the kernel-modules. 13# installkernel - Install the kernel and the kernel-modules. 14# reinstallkernel - Reinstall the kernel and the kernel-modules. 15# kernel - buildkernel + installkernel. 16# update - Convenient way to update your source tree (cvs). 17# upgrade - Upgrade a.out (2.2.x/3.0) system to the new ELF way 18# most - Build user commands, no libraries or include files. 19# installmost - Install user commands, no libraries or include files. |
20# aout-to-elf - Upgrade a system from a.out to elf format (see below). |
21# aout-to-elf-build - Build everything required to upgrade a system from 22# a.out to elf format (see below). 23# aout-to-elf-install - Install everything built by aout-to-elf-build (see 24# below). 25# move-aout-libs - Move the a.out libraries into an aout sub-directory 26# of each elf library sub-directory. 27# 28# This makefile is simple by design. The FreeBSD make automatically reads |
29# the /usr/share/mk/sys.mk unless the -m argument is specified on the |
30# command line. By keeping this makefile simple, it doesn't matter too 31# much how different the installed mk files are from those in the source 32# tree. This makefile executes a child make process, forcing it to use 33# the mk files from the source tree which are supposed to DTRT. 34# 35# The user-driven targets (as listed above) are implemented in Makefile.inc1. 36# 37# If you want to build your system from source be sure that /usr/obj has --- 28 unchanged lines hidden (view full) --- 66# ---------------------------------------------------------------------------- 67# 68# Upgrading an i386 system from a.out to elf format 69# 70# 71# The aout->elf transition build is performed by doing a `make upgrade' (or 72# `make aout-to-elf') or in two steps by a `make aout-to-elf-build' followed 73# by a `make aout-to-elf-install', depending on user preference. |
74# You need to have at least 320 MB of free space for the object tree. |
75# 76# The upgrade process checks the installed release. If this is 3.0-CURRENT, 77# it is assumed that your kernel contains all the syscalls required by the 78# current sources. 79# 80# The upgrade procedure will stop and ask for confirmation to proceed 81# several times. On each occasion, you can type Ctrl-C to abort the 82# upgrade. Optionally, you can also start it with NOCONFIRM=yes and skip --- 163 unchanged lines hidden (view full) --- 246.for kernel in ${KERNCONF2} 247.if exists(${.CURDIR}/sys/${TARGET_ARCH}/conf/${kernel}) 248 -cd ${.CURDIR} && make ${JFLAG} buildkernel \ 249 TARGET_ARCH=${TARGET_ARCH} KERNCONF=${kernel} \ 250 __MAKE_CONF=/dev/null \ 251 > _.${TARGET_ARCH}.${kernel} 2>&1 252.endif 253.endfor |