- Sep 08, 2015
-
-
Pascal Brand authored
Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Jerome Forissier authored
The code added by commits d6536da6 ("Commonlize xtest compilation among all platforms") and 070d9559 ("common build: optee components") introduces race conditions that break parallel build (make -jX). This is due to manually launching a make sub-process to run the -common targets, and can be fixed by just declaring a dependency instead. Specific flags are appended to common flags, rather than passed as arguments to a new "make" sub-process. So, basically: foo-common: $(MAKE) -C foo_dir [A=a B=B] foo: $(MAKE) foo-common [C=c] is turned into: FOO_COMMON_FLAGS ?= A=a B=b foo-common: $(MAKE) -C foo_dir $(FOO_COMMON_FLAGS) FOO_COMMON_FLAGS += C=c foo: foo-common At the same time this allows foo: to override flags, for instance set A=aa in the above example (prior to this, A=a would have had a higher priority). Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Sep 03, 2015
-
-
Pascal Brand authored
Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Pascal Brand authored
This is the first patch of a serie that show how makefile for specific platform support may use common rules. comon.mk is introduced. It contains: - common variable definitions, such as the compilers - common git to use and path (typically the OP-TEE ones) - common macros (CCACHE, and others to come). Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Sep 01, 2015
-
-
Jerome Forissier authored
Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
Jerome Forissier authored
Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
Jerome Forissier authored
Adds an Expect script to launch QEMU, run xtest and return a pass/fail status. This makes it even easier to launch non-regression tests and possibly integrate into a CI loop. The script may be invoked through 'make check' or 'make check-only'. The former considers dependencies, while the latter just runs the script. The output of serial ports 0 and 1 are saved to serial0.log and serial1.log, respectively. Expect may be installed with 'sudo apt-get install expect' on Debian/ Ubuntu distributions. Sample output: $ make -j9 check <snip> expect qemu-check.exp -- \ --bios /home/jerome/work/optee_repo/out/bios-qemu/bios.bin Starting QEMU... done, guest is booted. Loading OP-TEE driver and tee-supplicant... done. Running: xtest... ##########################################<snip> Status: PASS (404 test cases) Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
Jerome Forissier authored
The busybox build uses gen_init_cpio from the linux directory, so the target has to depend on linux. Signed-off-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Pascal Brand authored
Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org> Tested-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
Pascal Brand authored
Signed-off-by:
Pascal Brand <pascal.brand@st.com> Reviewed-by:
Jerome Forissier <jerome.forissier@linaro.org>
-
- Jul 24, 2015
-
-
James Kung authored
Signed-off-by:
James Kung <james.kung@linaro.org> Tested-by: James Kung <james.kung@linaro.org> (MT8173_EVB)
-
- Jul 21, 2015
-
-
SY Chiu authored
Signed-off-by:
SY Chiu <sy.chiu@linaro.org> Tested-by: SY Chiu <sy.chiu@linaro.org> (MT8173_EVB) Reviewed-by:
Pascal Brand <pascal.brand@linaro.org>
-
- Jul 10, 2015
-
-
Pascal Brand authored
Reviewed-by:
Joakim Bech <joakim.bech@linaro.org> Signed-off-by:
Pascal Brand <pascal.brand@st.com>
-
- Jul 09, 2015
-
-
Joakim Bech authored
This is the first commit containing helper makefiles to be able to build OP-TEE easily regardless of previous knowledge of OP-TEE. To use this particular git and the makefiles, you should have installed the environment according to the instructions at: https://github.com/OP-TEE/manifest/blob/master/README.md In this commit there are support for building OP-TEE for: - QEMU (default) - FVP - Hikey More targets will be added later on. Signed-off-by:
Joakim Bech <joakim.bech@linaro.org> Tested-by: Joakim Bech <joakim.bech@linaro.org> (QEMU, FVP) Tested-by: Victor Chong <victor.chong@linaro.org> (Hikey)
-