diff options
author | He Zhe <zhe.he@windriver.com> | 2020-03-27 11:54:12 +0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-03-27 01:47:53 -0700 |
commit | 989e57d10860df920eaf44b2079ae5c86041090c (patch) | |
tree | 7f7772301d713fef9435962cb0882357f46c5708 /meta-python/recipes-devtools/python/python-psutil.inc | |
parent | 525f1c4ade8774ec8c8a6a0045a6860574220335 (diff) | |
download | meta-openembedded-989e57d10860df920eaf44b2079ae5c86041090c.tar.gz |
turbostat: Fix build failure for missing kernel internal heaers and clean up
To fix the following build failures
turbostat.c:(.text+0xc28a): undefined reference to `UL'
turbostat.c:33:10: fatal error: sys/capability.h: No such file or directory (for kernel v5.6-rc7)
- Add dependency on libcap for kernel v5.6-rc7 and later versions
- Copy internal linux/const.h used by previously added internal linux/bits.h
- Tweak linux/const.h to allow it to refer to uapi const.h, as
linux-libc-headers purposely removes _UAPI from the locker macros of the
headers
- Remove -I for kernel-source in EXTRA_OEMAKE, as linux-kernel-headers has
provided enough and necessary headers
- Make do_configure depend on kernel's do_shared_workdir
Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python-psutil.inc')
0 files changed, 0 insertions, 0 deletions