| @@ -1,34 +1,42 @@ | | | @@ -1,34 +1,42 @@ |
1 | $NetBSD: UPDATING,v 1.263 2015/09/19 18:31:41 dholland Exp $ | | 1 | $NetBSD: UPDATING,v 1.264 2016/01/25 09:24:29 martin Exp $ |
2 | | | 2 | |
3 | This file (UPDATING) is intended to be a brief reference to recent | | 3 | This file (UPDATING) is intended to be a brief reference to recent |
4 | changes that might cause problems in the build process, and a guide for | | 4 | changes that might cause problems in the build process, and a guide for |
5 | what to do if something doesn't work. | | 5 | what to do if something doesn't work. |
6 | | | 6 | |
7 | For a more detailed description of the recommended way to build NetBSD | | 7 | For a more detailed description of the recommended way to build NetBSD |
8 | using build.sh, see the BUILDING file. | | 8 | using build.sh, see the BUILDING file. |
9 | | | 9 | |
10 | Note that much of the advice in this UPDATING file was written before | | 10 | Note that much of the advice in this UPDATING file was written before |
11 | build.sh existed. Nevertheless, the advice here may be useful for | | 11 | build.sh existed. Nevertheless, the advice here may be useful for |
12 | working around specific problems with build.sh. | | 12 | working around specific problems with build.sh. |
13 | | | 13 | |
14 | Sections are marked with "^^^^^". After the section on "Recent changes" | | 14 | Sections are marked with "^^^^^". After the section on "Recent changes" |
15 | are several sections containing more general information. | | 15 | are several sections containing more general information. |
16 | | | 16 | |
17 | See also: BUILDING, build.sh, Makefile. | | 17 | See also: BUILDING, build.sh, Makefile. |
18 | | | 18 | |
19 | Recent changes: | | 19 | Recent changes: |
20 | ^^^^^^^^^^^^^^^ | | 20 | ^^^^^^^^^^^^^^^ |
21 | | | 21 | |
| | | 22 | 20160125: |
| | | 23 | Dtrace has been enabled by default on some architectures. |
| | | 24 | When doing an update build, make sure to clean the etc/mtree |
| | | 25 | object directory before starting the build - otherwise the |
| | | 26 | needed directories in destdir will not be created. |
| | | 27 | An easy way to do this is: |
| | | 28 | cd src/etc/mtree && $TOOLDIR/bin/nbmake-$arch cleandir |
| | | 29 | |
22 | 20150818: | | 30 | 20150818: |
23 | New acpica requires "make cleandir" in src/external/bsd/acpica | | 31 | New acpica requires "make cleandir" in src/external/bsd/acpica |
24 | again. | | 32 | again. |
25 | | | 33 | |
26 | 20150413: | | 34 | 20150413: |
27 | New acpica requires "make cleandir" and reinstalling yacc | | 35 | New acpica requires "make cleandir" and reinstalling yacc |
28 | in /usr/src/external/bsd/byacc and /usr/src/tools/yacc and | | 36 | in /usr/src/external/bsd/byacc and /usr/src/tools/yacc and |
29 | also "make cleandir" in /usr/src/external/bsd/acpica. | | 37 | also "make cleandir" in /usr/src/external/bsd/acpica. |
30 | | | 38 | |
31 | 20150404: | | 39 | 20150404: |
32 | Lint changes require a full rebuild of the tool, so make | | 40 | Lint changes require a full rebuild of the tool, so make |
33 | sure to build without -u option to build.sh, or manually | | 41 | sure to build without -u option to build.sh, or manually |
34 | do a make cleandir in src/tools/lint1 and | | 42 | do a make cleandir in src/tools/lint1 and |