commit | 9ba618abcf719da06001dbbb790d5f240da25b7a | [log] [tgz] |
---|---|---|
author | Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> | Mon Nov 07 05:26:43 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Mon Nov 07 21:56:11 2011 +0100 |
tree | 9a1573e7c1232a113ba8de84a784510b075889b1 | |
parent | 0c087d004c53c5608547dd035b45102d9d6e6540 [diff] |
config.mk: use memoization in cc-option macro to speed up compilation Apply memoization to cc-option macro by caching the results of the gcc calls. This macro is called very often so using cached results leads to faster compilation times. The old behaviour can be restored by defining the config option CONFIG_CC_OPT_CACHE_DISABLE=y. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>