HomeFreeBSD

LinuxKPI: define LINUXKPI_INCLUDES for module builds as well

Description

LinuxKPI: define LINUXKPI_INCLUDES for module builds as well

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.

Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D36683

(cherry picked from commit 514fb3872166a361faa81d89909f65913e90b1b2)

Details

Provenance
bzAuthored on Sep 23 2022, 9:18 PM
Reviewer
hselasky
Differential Revision
D36683: LinuxKPI: define LINUXKPI_INCLUDES for module builds as well
Parents
rGc1e4d85c71df: LinuxKPI: add struct dmi_header and unsupported dmi_walk()
Branches
Unknown
Tags
Unknown