summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-12-29 12:45:06 -0800
committerSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>2026-01-16 16:03:20 -0800
commit21adcd5ec99f342489a49e9d237a987b1bd9fab5 (patch)
treed681b60a8f9be70cc9e5417384b89e5306a54b59 /include
parent6588b8845e7387438d4b91ea86e7cb6d838b3108 (diff)
tools/power/x86/intel-speed-select: Use pkg-config for libnl-3.0 detection
Replace hardcoded libnl3 include path with pkg-config detection to improve portability across different distributions and build environments. The previous implementation used a fixed path constructed from the compiler's sysroot, which could fail on systems with non-standard library installations. Now the build system: - Attempts to detect libnl-3.0 include paths using pkg-config - Falls back to /usr/include/libnl3 if pkg-config is unavailable - Maintains backward compatibility with existing build configurations This ensures the tool builds correctly on a wider range of systems while preserving existing behavior when pkg-config is not present. Closes:https://bugzilla.kernel.org/show_bug.cgi?id=220819 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions