diff options
| author | Khem Raj <[email protected]> | 2025-01-29 03:39:32 +0000 |
|---|---|---|
| committer | Srinivas Pandruvada <[email protected]> | 2025-03-07 16:00:21 +0000 |
| commit | 8d9cfb6d712b829b40bc4d9831673aa05ebfeb0e (patch) | |
| tree | cbbbc75f5f3ecbe7ad399bd59ad828b52f879cf0 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
| parent | tools/power/x86/intel-speed-select: Die ID for IO dies (diff) | |
| download | kernel-8d9cfb6d712b829b40bc4d9831673aa05ebfeb0e.tar.gz kernel-8d9cfb6d712b829b40bc4d9831673aa05ebfeb0e.zip | |
tools/power/x86/intel-speed-select: Prefix header search path with sysroot
This helps when using a cross-compiler for building intel-speed-select,
currently, its hardcoded to pick libnl3 headers from build host which may
not be same as build target when cross compiling.
cc -print-sysroot will print nothing if compiler is configured without
a sysroot and result in same string as it is now.
Fixes errors with gcc configured with host include poisoning e.g.
cc1: error: include location "/usr/include/libnl3" is unsafe for
cross-compilation [-Werror=poison-system-directories]
Signed-off-by: Khem Raj <[email protected]>
[ srinivas: Changelog edits for checkpatch warning ]
Signed-off-by: Srinivas Pandruvada <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions
