diff options
| author | Min-Hua Chen <[email protected]> | 2024-09-13 20:17:02 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2024-09-13 20:24:16 +0000 |
| commit | 313312c84b42d7b8ee1fb03ab30befc2bd0db211 (patch) | |
| tree | 1a0a9bea8e9b7edcb7ef2f4c11bdb0829f4a160f /security/selinux/hooks.c | |
| parent | pm:cpupower: Add error warning when SWIG is not installed (diff) | |
| download | kernel-313312c84b42d7b8ee1fb03ab30befc2bd0db211.tar.gz kernel-313312c84b42d7b8ee1fb03ab30befc2bd0db211.zip | |
pm: cpupower: rename raw_pylibcpupower.i
The raw_pylibcpupower.i is removed unexpectedly after 'make mrproper'
We can reproduce the error by performing the following steps:
cd linux-next
make mrproper
cd tools/power/cpupower/bindings/python
make
We will get an error message:
make: *** No rule to make target 'raw_pylibcpupower.i', needed by 'raw_pylibcpupower_wrap.c'. Stop.
The root cause:
The *.i files are already used for pre-processor output files and
the kernel removes all the *.i files by 'make mrproper'.
That explains why the raw_pylibcpupower.i is removed by 'make mrproper'.
To fix it, Follow John's suggestion to rename raw_pylibcpupower.i to
raw_pylibcpupower.swg.
See:
https://www.swig.org/Doc4.2/SWIG.html
Reviewed-by: John B. Wyatt IV <[email protected]>
Reviewed-by: John B. Wyatt IV <[email protected]>
Tested-by: John B. Wyatt IV <[email protected]>
Tested-by: John B. Wyatt IV <[email protected]>
Signed-off-by: Min-Hua Chen <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
