UPDATING (e2a36081539d334f640aeceb235a54b28cae3b1d) | UPDATING (1cf0ef11e3bd605fd14c2ec4533ec54d63324cd6) |
---|---|
1Updating Information for FreeBSD current users 2 3This file is maintained and copyrighted by M. Warner Losh 4<imp@village.org>. See end of file for further details. For commonly 5done items, please see the COMMON ITEMS: section later in the file. 6 7Items affecting the ports and packages system can be found in 8/usr/ports/UPDATING. Please read that file before running --- 223 unchanged lines hidden (view full) --- 232 environment when searching for values for global variables. 233 To run your build attempts in an "environmental clean room", 234 prefix all make commands with 'env -i '. See the env(1) manual 235 page for more details. 236 237 To build a kernel 238 ----------------- 239 If you are updating from a prior version of FreeBSD (even one just | 1Updating Information for FreeBSD current users 2 3This file is maintained and copyrighted by M. Warner Losh 4<imp@village.org>. See end of file for further details. For commonly 5done items, please see the COMMON ITEMS: section later in the file. 6 7Items affecting the ports and packages system can be found in 8/usr/ports/UPDATING. Please read that file before running --- 223 unchanged lines hidden (view full) --- 232 environment when searching for values for global variables. 233 To run your build attempts in an "environmental clean room", 234 prefix all make commands with 'env -i '. See the env(1) manual 235 page for more details. 236 237 To build a kernel 238 ----------------- 239 If you are updating from a prior version of FreeBSD (even one just |
240 a few days old), you should follow this procedure. With a 241 /usr/obj tree with a fresh buildworld, | 240 a few days old), you should follow this procedure. It is the most 241 failsafe as it uses a /usr/obj tree with a fresh mini-buildworld, 242 243 make kernel-toolchain |
242 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE 243 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE 244 245 To test a kernel once 246 --------------------- 247 If you just want to boot a kernel once (because you are not sure 248 if it works, or if you want to boot a known bad kernel to provide 249 debugging information) run --- 163 unchanged lines hidden --- | 244 make -DALWAYS_CHECK_MAKE buildkernel KERNCONF=YOUR_KERNEL_HERE 245 make -DALWAYS_CHECK_MAKE installkernel KERNCONF=YOUR_KERNEL_HERE 246 247 To test a kernel once 248 --------------------- 249 If you just want to boot a kernel once (because you are not sure 250 if it works, or if you want to boot a known bad kernel to provide 251 debugging information) run --- 163 unchanged lines hidden --- |