commit | 1d7d9ad8565044715a1574818e392a3d8b7e1c85 | [log] [tgz] |
---|---|---|
author | Bryan O'Donoghue <bryan.odonoghue@linaro.org> | Wed Apr 11 17:09:51 2018 +0100 |
committer | Jérôme Forissier <jerome.forissier@linaro.org> | Thu Apr 19 16:56:27 2018 +0200 |
tree | dd6f7da77ae75373875e567318bb9e1737035d90 | |
parent | d99827351564b8a6ae06ac38c1c1f613ec5fdda7 [diff] |
host/Makefiles: Allow CC variable to be derived from env When cross compiling with bitbake we only want to set CC if the env hasn't already set it. Change the host Makefiles to only assign CC and friends if-and-only-if not already set by the environment. As an example bitbake for the NXP WaRP7 will set CROSS_COMPILE=arm-oe-linux-gnueabi- and CC=arm-oe-linux-gnueabi-gcc -march=armv7ve -marm -mfpu=neon -mfloat-abi=hard -mcpu=cortex-a7 --sysroot=/opt/oecore-x86_64/sysroots/cortexa7hf-neon-oe-linux-gnueabi Thus allowing for the user-space compliation to pick-up the necessary float and sysroot parameters. Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
This document describes the sample applications that are included in the OP-TEE, that aim to showcase specific functionality and use case.
For sake of simplicity, all OP-TEE example test application are prefixed with optee_example_
.
Directory hello_world/:
optee_example_hello_world
Directory random/:
TEE_GenerateRandom()
).optee_example_random
Directory aes/:
optee_example_aes
TA basics documentation presents the basics for implementing and building an OP-TEE trusted application.
One can also refer to the examples provided: source files and make scripts.