Page MenuHomeFreeBSD

Mk/Uses/kmod.mk: add FLAVORS to USES=kmod for building the kernel module for each minor release kernel.
Needs ReviewPublic

Authored by theron.tarigo_gmail.com on Feb 28 2020, 6:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 10 2024, 2:10 AM
Unknown Object (File)
Dec 17 2023, 12:53 PM
Unknown Object (File)
Dec 16 2023, 2:43 PM
Unknown Object (File)
Dec 13 2023, 8:14 PM
Unknown Object (File)
Dec 10 2023, 10:23 PM
Unknown Object (File)
Sep 27 2023, 7:29 PM
Unknown Object (File)
Aug 14 2023, 8:45 AM
Unknown Object (File)
Jun 24 2023, 3:27 AM

Details

Reviewers
kp
pizzamig
Group Reviewers
portmgr
Summary

For kernel modules which only work when installed with a kernel of a specific minor release (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241101), ensure that packages of this module are available for each such release (primarily useful only when multiple minor releases are currently supported).

Example

make -C /usr/ports/graphics/drm-fbsd12.0-kmod FLAVOR=fbsd1201 package
make -C /usr/ports/graphics/drm-fbsd12.0-kmod FLAVOR=fbsd1200 package

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

linimon retitled this revision from Add FLAVORS to USES=kmod for building the kernel module for each minor release kernel. to Mk/Uses/kmod.mk: add FLAVORS to USES=kmod for building the kernel module for each minor release kernel..Feb 28 2020, 6:49 PM
/usr/ports/devel/freebsd-kernel-src/Makefile
50 ↗(On Diff #68956)

The port should not be dynamically creating its plist. Instead a static pkg-plist should be generated by a script each time the port is updated for a new source release.

rene added inline comments.
/usr/ports/Mk/bsd.kmod-releases.mk
10 ↗(On Diff #68956)

11.2 and 12.0 are end-of-life, so no point in building for those.

/usr/ports/devel/freebsd-kernel-src/Makefile
10 ↗(On Diff #68956)

You'll have to use a real email address here, you cannot just make up a FreeBSD one.

/usr/ports/devel/freebsd-kernel-src/Makefile
10 ↗(On Diff #68956)

Ah, this is a GSoC address. Ignore me ;)

Adding pizzamig@ here as he did some investigative work building kernel module ports for multiple minor FreeBSD versions.