Page MenuHomeFreeBSD

remind user of variable used to set src tree location
ClosedPublic

Authored by emaste on Dec 6 2019, 7:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 8, 4:11 PM
Unknown Object (File)
Wed, Dec 24, 1:46 AM
Unknown Object (File)
Wed, Dec 24, 1:46 AM
Unknown Object (File)
Nov 24 2025, 3:31 AM
Unknown Object (File)
Nov 22 2025, 4:15 AM
Unknown Object (File)
Nov 14 2025, 3:47 PM
Unknown Object (File)
Oct 15 2025, 3:07 AM
Unknown Object (File)
Aug 25 2025, 7:35 AM
Subscribers
None

Details

Summary

trying to build kmod ports without a src tree in /usr/src results in a failure that the build requires kernel source files in /usr/src. Mention also the make variable (SRC_BASE) that sets this patch as a hint to users building against a src tree located elsewhere.


My src trees are usually in a directory like ~/src/freebsd and the location can be set with SRC_BASE=..., but I can never recall if it's SRCTOP or SRC_TOP or whatnot. Mention the variable name in the error as a hint.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Dec 6 2019, 7:46 PM
This revision was automatically updated to reflect the committed changes.