Home
last modified time | relevance | path

Searched hist:bc0d271274c8da670a1595490e7ddd169b209e20 (Results 1 – 2 of 2) sorted by relevance

/optee_os/mk/
H A Dcleandirs.mkbc0d271274c8da670a1595490e7ddd169b209e20 Wed Oct 25 09:31:25 UTC 2017 Jerome Forissier <jerome.forissier@linaro.org> make clean: split file list into manageable chunks

"make clean" might fail with the following error:

make[2]: execvp: /bin/bash: Argument list too long

This error was observed on a platform that has lots of additional
source files compared to upstream (drivers, etc.), and that sets a long
output path on the command line (make ... O=/some/long/path).

Fix the error by splitting the file list into more manageable chunks.
Note that removing one file at a time is not reasonable, because
spawning too may shells takes quite a long time (up to 7-10 seconds to
"make clean").

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reported-by: Lijianhui <airbak.li@hisilicon.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
/optee_os/
H A DMakefilebc0d271274c8da670a1595490e7ddd169b209e20 Wed Oct 25 09:31:25 UTC 2017 Jerome Forissier <jerome.forissier@linaro.org> make clean: split file list into manageable chunks

"make clean" might fail with the following error:

make[2]: execvp: /bin/bash: Argument list too long

This error was observed on a platform that has lots of additional
source files compared to upstream (drivers, etc.), and that sets a long
output path on the command line (make ... O=/some/long/path).

Fix the error by splitting the file list into more manageable chunks.
Note that removing one file at a time is not reasonable, because
spawning too may shells takes quite a long time (up to 7-10 seconds to
"make clean").

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Reported-by: Lijianhui <airbak.li@hisilicon.com>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>