]> git.dujemihanovic.xyz Git - u-boot.git/commit
config.mk: use memoization in cc-option macro to speed up compilation
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Mon, 7 Nov 2011 05:26:43 +0000 (05:26 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 20:56:11 +0000 (21:56 +0100)
commitb6a467d73d8847e2307e7e95768e3287d51a9fe6
tree9a1573e7c1232a113ba8de84a784510b075889b1
parentfec79acc864bed049b6beae719ccbf2bbec5403a
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>
config.mk