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.

MFC after: 1 week
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D36683

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
rGbd93b5f79ab4: pci_host_generic: stop address translation in bus_alloc_resource
Branches
Unknown
Tags
Unknown