diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2019-05-14 07:30:30 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-05-15 17:53:29 +0100 |
commit | c10a9f72e3abc14a5cc3125ef6e20e7fded26462 (patch) | |
tree | 9217708a1d1b40bf189f11a51a721039ef130e07 /LICENSE | |
parent | 3de77b33eecbf6e65e5d9d1eedb5f2aea3886766 (diff) | |
download | poky-c10a9f72e3abc14a5cc3125ef6e20e7fded26462.tar.gz |
perf: make sure that the tools/include/uapi/asm-generic directory exists
* before trying to copy unistd.h into it
* older kernels don't have uapi in tools/include and do_configure fails
with:
DEBUG: Executing shell function do_configure
cp: cannot create regular file '.../perf/1.0-r9/perf-1.0/tools/include/uapi/asm-generic/unistd.h':
No such file or directory
WARNING: exit code 1 from a shell command.
* tools/include/uapi was added in kernel 4.8 with
https://github.com/torvalds/linux/commit/c4b6014e8bb0c8d47fe5c71ebc604f31091e5d3f
tools: Add copy of perf_event.h to tools/include/linux/
(From OE-Core rev: 5fdb96f4996856286c4f72b93d31b7990ceed8aa)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions