Page MenuHomeFreeBSD

LinuxKPI: define LINUXKPI_INCLUDES for module builds as well
ClosedPublic

Authored by bz on Sep 23 2022, 9:25 PM.
Tags
None
Referenced Files
F166250089: D36683.id111026.diff
Wed, Aug 12, 1:47 PM
F166250037: D36683.id110892.diff
Wed, Aug 12, 1:47 PM
F166248208: D36683.diff
Wed, Aug 12, 1:40 PM
Unknown Object (File)
Mon, Jul 20, 5:48 AM
Unknown Object (File)
Sat, Jul 18, 1:44 PM
Unknown Object (File)
Jul 5 2026, 4:54 AM
Unknown Object (File)
Jul 3 2026, 6:51 AM
Unknown Object (File)
Jun 25 2026, 7:00 AM
Subscribers

Details

Summary

While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk
for kmod builds we've not had a common define to use leading to various
spellings of include paths.

In order for the include list to be expanded more easily in the future,
e.g., adding the "dummy" includes (for all) and to harmonize code,
duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable