Searched hist:e5834434d7f443ea0c0fd2a6cd4c8f1f678c3c71 (Results 1 – 1 of 1) sorted by relevance
| /optee_os/mk/ |
| H A D | checkconf.mk | e5834434d7f443ea0c0fd2a6cd4c8f1f678c3c71 Fri Dec 11 14:53:30 UTC 2020 Jerome Forissier <jerome@forissier.org> build: make 'force' macro more robust
The 'force' macro can cause unexpected errors in some cases where the name of the configuration variable is preceded by a space: '$(call force, CFG_FOO,foo)' instead of '$(call force,CFG_FOO,foo)'. For example:
$ make PLATFORM=imx-mx8mmevk CFG_STACK_{TMP,THREAD}_EXTRA=8192 \ CFG_CRYPTO_DRV_ACIPHER=y CFG_NXP_SE05X=y CFG_NXP_CAAM=y core/drivers/crypto/se050/crypto.mk:49: *** CFG_CRYPTO_DRV_ACIPHER is set to '' (from undefined) but its value must be 'y' [Mandated by CFG_NXP_SE05X_ACIPHER_DRV]. Stop.
Fixing the callers is certainly a good thing to do (if only for consistency) but the current behavior is difficult to troubleshoot. Therefore, make the 'force' macro more robust by stripping any space around the variable name.
Reported-by: Jorge Ramirez-Ortiz <jorge@foundries.io> Signed-off-by: Jerome Forissier <jerome@forissier.org> Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
|