mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-23 01:31:30 +03:00
The script conftest.sh can be used at build time to determine which kernel headers or versions of kernel functions/macros are present in the kernel that drivers are being compiled against. This is useful for cases where changes are backported from upstream Linux kernels that may change kernel functions and so we can no longer rely on the kernel version to indicate which version of the kernel function to use. The conftest.h header file is a top-level header file that includes all the header files that are generated by the conftest.sh script. This header file can be included by drivers so that they can use the various definitions that are generated by conftest.sh. This file is located along with the conftest.sh script because this is copied to the output directory where all the generated header files are placed. Bug 4119327 Bug 4228080 Change-Id: I781884e359e9688640661548620e01a178debac9 Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/2974065 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
1.4 KiB
1.4 KiB