[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210330082617.GA971075@jade>
Date: Tue, 30 Mar 2021 10:26:17 +0200
From: Jens Wiklander <jens.wiklander@...aro.org>
To: Jisheng Zhang <Jisheng.Zhang@...aptics.com>
Cc: Steven Rostedt <rostedt@...dmis.org>,
Guenter Roeck <linux@...ck-us.net>,
Heiko Thiery <heiko.thiery@...il.com>,
op-tee@...ts.trustedfirmware.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] tee: optee: fix build error caused by recent optee
tracepoints feature
On Thu, Mar 25, 2021 at 12:06:01PM +0800, Jisheng Zhang wrote:
> 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.
>
> Reported-by: Guenter Roeck <linux@...ck-us.net>
> Suggested-by: Steven Rostedt <rostedt@...dmis.org>
> Signed-off-by: Jisheng Zhang <Jisheng.Zhang@...aptics.com>
I've picked up this.
Thanks,
Jens
Powered by blists - more mailing lists