Home
last modified time | relevance | path

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

/linux-6.15/scripts/
H A DKbuild.includee17c400a Fri Oct 13 11:25:29 GMT 2017 Masahiro Yamada <[email protected]> kbuild: shrink .cache.mk when it exceeds 1000 lines

The cache files are only cleaned away by "make clean". If you continue
incremental builds, the cache files will grow up little by little.
It is not a big deal in general use cases because compiler flags do not
change quite often.

However, if you do build-test for various architectures, compilers, and
kernel configurations, you will end up with huge cache files soon.

When the cache file exceeds 1000 lines, shrink it down to 500 by "tail".
The Least Recently Added lines are cut. (not Least Recently Used)
I hope it will work well enough.

Signed-off-by: Masahiro Yamada <[email protected]>
Reviewed-by: Douglas Anderson <[email protected]>