tee: integrate tee module build to android build system [1/2]
authorShuide Chen <shuide.chen@amlogic.com>
Tue, 28 May 2019 06:06:41 +0000 (14:06 +0800)
committerShuide Chen <shuide.chen@amlogic.com>
Mon, 17 Jun 2019 01:56:19 +0000 (18:56 -0700)
commit566330eb795d213d2a771f186b68c14fd7f7f40f
treea361e83fbdb0d691236c4c80322de3c5eff13e1f
parent6c054e1526f661f9d36232550809b5531473e943
tee: integrate tee module build to android build system [1/2]

PD#SWPL-9058

Problem:
optee module build trigged at scanning Android.mk stage, it's too early
and the module not depend to kernel, which may introduce very strange
errors, and it customize toolchain and configures, which made the system
very hard to maintain.

Solution:
Rewrite the makefile and structure for the above problem
This CL also support build on Q

Verify:
locally

Change-Id: I8d883735d926c54848a4135518e4be139594a147
Signed-off-by: Shuide Chen <shuide.chen@amlogic.com>
15 files changed:
Android.mk [changed mode: 0755->0644]
Kconfig [changed mode: 0755->0644]
Makefile [changed mode: 0755->0644]
include/linux/arm-smccc.h [changed mode: 0755->0644]
include/linux/tee.h [changed mode: 0755->0644]
include/linux/tee_drv.h [changed mode: 0755->0644]
optee/Kconfig [changed mode: 0755->0644]
optee/optee_msg.h [changed mode: 0755->0644]
optee/optee_private.h [changed mode: 0755->0644]
optee/optee_smc.h [changed mode: 0755->0644]
optee/smccc-call.S [changed mode: 0755->0644]
optee/supp.c [changed mode: 0755->0644]
tee_core.c [changed mode: 0755->0644]
tee_private.h [changed mode: 0755->0644]
tee_shm.c [changed mode: 0755->0644]