diff options
author | Jisheng Zhang <[email protected]> | 2021-03-25 12:06:01 +0800 |
---|---|---|
committer | Jens Wiklander <[email protected]> | 2021-03-30 09:33:33 +0200 |
commit | 7ccdcaace80810175bd20b2ece856b42edd43991 (patch) | |
tree | 5b1970ef31d776ef6b9c4d84ac10dd83cbac62bb /scripts/gdb/linux/tasks.py | |
parent | 0101947dbcc3204f08fb5b69a21dbd4b1535cad6 (diff) |
tee: optee: fix build error caused by recent optee tracepoints feature
If build kernel without "O=dir", below error will be seen:
In file included from drivers/tee/optee/optee_trace.h:67,
from drivers/tee/optee/call.c:18:
./include/trace/define_trace.h:95:42: fatal error: ./optee_trace.h: No such file or directory
95 | #include TRACE_INCLUDE(TRACE_INCLUDE_FILE)
| ^
compilation terminated.
Fix it by adding below line to Makefile:
CFLAGS_call.o := -I$(src)
Tested with and without "O=dir", both can build successfully.
Fixes: 0101947dbcc3 ("tee: optee: add invoke_fn tracepoints")
Tested-by: Heiko Thiery <[email protected]>
Tested-by: Guenter Roeck <[email protected]>
Reported-by: Guenter Roeck <[email protected]>
Suggested-by: Steven Rostedt <[email protected]>
Signed-off-by: Jisheng Zhang <[email protected]>
Signed-off-by: Jens Wiklander <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions