Home
last modified time | relevance | path

Searched hist:"80 b563f50dd641c77f7d809db192016ea8fdfe38" (Results 1 – 1 of 1) sorted by relevance

/optee_os/
H A DMakefile80b563f50dd641c77f7d809db192016ea8fdfe38 Fri Dec 02 16:54:52 UTC 2016 Jerome Forissier <jerome.forissier@linaro.org> Makefile: unexport MAKEFILE_LIST to reduce the size of the environment

To avoid issues [1] with some projects that call us from a top-level
Makefile that has an 'export' directive or a '.EXPORT_ALL_VARIABLES:'
target, we prevent $(MAKEFILE_LIST) from being exported, thereby
greatly reducing the size of the environment.

[1] Typically, the build succeeds the first time (because there is no
.cmd/.d files yet), then the second invocation of make fails with:

CHK out/arm-plat-vexpress/conf.mk
make[3]: execvp: /bin/bash: Argument list too long

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Tested-by: Zeng Tao <prime.zeng@hisilicon.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>