<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/Makefile, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2026-06-21T17:54:17Z</updated>
<entry>
<title>Source upgrade doc: etcupdate no longer needs -B</title>
<updated>2026-06-21T17:54:17Z</updated>
<author>
<name>Alexander Ziaee</name>
<email>ziaee@FreeBSD.org</email>
</author>
<published>2026-06-21T17:54:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=704db3fe9840ee3e51b080b7c35defd1a74c0c2d'/>
<id>urn:sha1:704db3fe9840ee3e51b080b7c35defd1a74c0c2d</id>
<content type='text'>
Note: We confusingly have the instructions to build the system in the
build manual, the UPDATING file, and the Makefile. These will get out
of sync and will be harmful when they do.

Fixes:	ddf6fad0295a ("etcupdate: Make nobuild the default")
Reviewed by:		jhb
Differential Revision:	https://reviews.freebsd.org/D57644
</content>
</entry>
<entry>
<title>universe: emit warning instead of error for bad/missing KERNCONF</title>
<updated>2026-05-21T14:17:03Z</updated>
<author>
<name>Siva Mahadevan</name>
<email>siva@FreeBSD.org</email>
</author>
<published>2026-05-21T14:08:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c170a96dbeeb3b0d36456d21beee6c551957a456'/>
<id>urn:sha1:c170a96dbeeb3b0d36456d21beee6c551957a456</id>
<content type='text'>
When doing a large `make universe` build with multiple KERNCONFS,
it should not be an error when a particular target has a missing
KERNCONF.

In this example,

```
$ make universe TARGETS='arm64 riscv' KERNCONFS='QEMU VIRT'
```

Currently, arm64 does not have a QEMU conf, and riscv
does not have a VIRT conf. However, this command should still
succeed instead of failing with the following message:

```
make[2]: /usr/src/Makefile:767: Target architecture for riscv/conf/VIRT unknown.  config(8) likely too old.
	in .for loop from /usr/src/Makefile:761 with kernel = VIRT
	in make[2] in directory "/usr/src"

make[2]: stopped making "universe_kernels" in /usr/src
```

Since the opposite is true, we should build whatever confs are available
from the requested list of KERNCONFS, while making sure to still
emit warnings along the way.

Reviewed by:	imp
Approved by:	lwhsu (mentor), emaste (mentor)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D55571
</content>
</entry>
<entry>
<title>universe: allow moving build logs to UNIVERSE_LOGDIR</title>
<updated>2026-05-21T14:16:48Z</updated>
<author>
<name>Siva Mahadevan</name>
<email>siva@FreeBSD.org</email>
</author>
<published>2026-05-20T20:05:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=02ef0b6d76e9717b8e3182dd706e23fd2702701d'/>
<id>urn:sha1:02ef0b6d76e9717b8e3182dd706e23fd2702701d</id>
<content type='text'>
This allows `make universe` or `make tinderbox`
to build from a read-only src tree.

Reviewed by:	ziaee, imp, delphij
Approved by:	lwhsu (mentor), emaste (mentor)
MFC after:	3 days
Differential Revision:	https://reviews.freebsd.org/D55566
</content>
</entry>
<entry>
<title>universe: Bump default GCC version to 15</title>
<updated>2026-02-06T15:32:58Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2026-02-06T15:32:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f73101fabc74255d70f4e7ce0e71f0f6655c51ea'/>
<id>urn:sha1:f73101fabc74255d70f4e7ce0e71f0f6655c51ea</id>
<content type='text'>
Reviewed by:	lwhsu, emaste
Differential Revision:	https://reviews.freebsd.org/D55085
</content>
</entry>
<entry>
<title>Makefile*: remove powerpcspe</title>
<updated>2026-01-09T16:28:43Z</updated>
<author>
<name>Minsoo Choo</name>
<email>minsoochoo0122@proton.me</email>
</author>
<published>2025-12-03T03:57:23Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=94d1731e73ccb97df5fc5928bb584cabb8e37f1f'/>
<id>urn:sha1:94d1731e73ccb97df5fc5928bb584cabb8e37f1f</id>
<content type='text'>
As reported on the freebsd-announce mailing list[1] FreeBSD is
continuing to retire 32-bit support.  Remove powerpcspe from build
infrastructure.

[1] https://lists.freebsd.org/archives/freebsd-announce/2024-February/000117.html

Signed-off-by: Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Reviewed by:	jhibbits, emaste
Pull request:	https://github.com/freebsd/freebsd-src/pull/1914
</content>
</entry>
<entry>
<title>Makefile: Update doxygen requirements</title>
<updated>2026-01-08T14:01:03Z</updated>
<author>
<name>Minsoo Choo</name>
<email>minsoochoo0122@proton.me</email>
</author>
<published>2026-01-06T18:11:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d2f1c8e0d1bebab9fba32d69d261abc101f368ba'/>
<id>urn:sha1:d2f1c8e0d1bebab9fba32d69d261abc101f368ba</id>
<content type='text'>
MFC after:	3 days
Reviewed by:	imp, ziaee
Signed-off-by:	Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Closes:		https://github.com/freebsd/freebsd-src/pull/1869
</content>
</entry>
<entry>
<title>Makefile: Force DISTDIR=/ for (update-)packages</title>
<updated>2025-10-08T03:22:32Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-10-08T03:22:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f7dc7d7af3683836fcca68018a678b242d2e2620'/>
<id>urn:sha1:f7dc7d7af3683836fcca68018a678b242d2e2620</id>
<content type='text'>
The make(1) variable DISTDIR is used by both ports and src with a
different meaning.  Some users may set DISTDIR in /etc/make.conf
for ports, which previously worked fine when building src since
the src targets which used this variable were not very commonly
used (mainly, make distributeworld).

Unfortunately, with pkgbase becoming the default, this is no longer
true since make (update-)packages invokes make stageworld, which is
sensitive to DISTDIR, and these users find that their build now fails.

A correct fix for this probably requires renaming one or both of
the DISTDIR variables, but for now, work around the problem by
setting DISTDIR=/ for the user-facing pkgbase targets, packages
and update-package.  Since setting DISTDIR doesn't work for these
targets anyway, this should not break any existing configurations.

MFC after:	1 week
PR:		290010
Reported by:	Oleh Vinichenko &lt;moonlapse81@gmail.com&gt;
Reviewed by:	imp, bapt
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52929
</content>
</entry>
<entry>
<title>Makefile: Fix ordering for (update-)packages</title>
<updated>2025-10-03T05:43:15Z</updated>
<author>
<name>Lexi Winter</name>
<email>ivy@FreeBSD.org</email>
</author>
<published>2025-10-03T05:43:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dfc9da6248491072e31f924f5ae6b6238603089a'/>
<id>urn:sha1:dfc9da6248491072e31f924f5ae6b6238603089a</id>
<content type='text'>
The (update-)packages targets require buildworld and buildkernel to
run first.  Add some .ORDER statements to ensure this happens.

This fixes 'make -j8 buildworld buildkernel packages'.

PR:		289969
Reported by:	yasu
MFC after:	3 days
Reviewed by:	yasu, emaste
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52877
</content>
</entry>
<entry>
<title>powerpc: Disconnect 32-bit powerpc from make universe</title>
<updated>2025-07-14T15:01:09Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2025-07-14T15:01:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4a3fb7547e6bbae48e6535f22752486769df7272'/>
<id>urn:sha1:4a3fb7547e6bbae48e6535f22752486769df7272</id>
<content type='text'>
World and kernels for 32-bit powerpc can still be built using the
buildworld and buildkernel targets.

Reviewed by:	imp
Differential Revision:	https://reviews.freebsd.org/D51194
</content>
</entry>
<entry>
<title>Revert "src/Makefile: log real/user/system time for build targets"</title>
<updated>2025-07-02T16:39:26Z</updated>
<author>
<name>Brooks Davis</name>
<email>brooks@FreeBSD.org</email>
</author>
<published>2025-07-02T16:39:26Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1b06e0b889f82046bd2ed6acb54fed00313b0b90'/>
<id>urn:sha1:1b06e0b889f82046bd2ed6acb54fed00313b0b90</id>
<content type='text'>
This broke `make makeman` by unconditionally adding output to all top
level targets.  Lacking an obvious and trivial workaround, it makes
sense to back it out and rethink.

This reverts commit afa70490ee779646fa0e936801cb28795580bf01.

PR:		287274

Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D51119
</content>
</entry>
</feed>
