commit | 2660ff2df2246f7e3eeb7ba09510d9aaeab92330 | [log] [tgz] |
---|---|---|
author | Jerome Forissier <jerome.forissier@linaro.org> | Thu Sep 03 10:20:00 2015 +0200 |
committer | Jerome Forissier <jerome.forissier@linaro.org> | Wed Sep 09 10:37:30 2015 +0200 |
tree | 4cb7f56878325bf25a00a619237b2b5e6365a299 | |
parent | 15271698b6cc8cd6ffc0b686932b58d0bc4f3a1e [diff] |
qemu.mk: fixes/improvements for Travis CI environment - If $(CROSS_COMPILE) is defined, use it to set the other cross compile variables used in common.mk: CROSS_COMPILE_{S,NS}_{USER,KERNEL}. The linux and qemu targets are also adjusted to use those variables, they may be updated later when common targets are added. - Use $(MAKE) instead of plain 'make' so that some special make flags are handled properly (-n for instance). - Fix filelist-tee dependencies. Since this target uses 'find' to make a list of files built by xtest, xtest is a dependency. - make check: add DUMP_LOGS_ON_ERROR variable. To dump serial0.log and serial1.log when test fails, run: make check DUMP_LOGS_ON_ERROR=1 - Add missing + before $(MAKE). The $(bios-qemu-common) macro defines a command that must start with a '+' character for reasons related to the GNU make jobserver implementation [1]. Without it, the sub-make would print the following warning and not run in parallel: make[1]: warning: jobserver unavailable: using -j1. Add `+' to parent make rule. [1] http://make.mad-scientist.net/papers/jobserver-implementation/ ("The Final Result", point 7.) - Remove redundant dependencies Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Joakim Bech <joakim.bech@linaro.org>
Contains the necessary build files to handle OP-TEE for various setups, for now, please see manifest/README.md and OP-TEE/README.md for instructions.