Searched hist:"313 ead476a7106eb7b92643086b1a5cff0f3b099" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/mk/ |
| H A D | compile.mk | 313ead476a7106eb7b92643086b1a5cff0f3b099 Thu Jan 22 17:17:54 UTC 2015 Jerome Forissier <jerome.forissier@linaro.org> mk/compile.mk: GNU make 4.0 compatibility
Fixes issue https://github.com/OP-TEE/optee_os/issues/179 (GNU make 4.0 rebuilds everything each time it is run).
GNU make 4.0 includes a fix for bug http://savannah.gnu.org/bugs/?16051 which breaks the C compilation rule in mk/compile.mk. Previous versions of make would not add the FORCE target to $?, whereas version 4.0 does. Therefore, one must explicitly exclude FORCE from $? to properly detect if dependencies have changed.
Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org> Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org> Reviewed-by: Pascal Brand <pascal.brand@linaro.org>
|