https://bitbucket.org/hudson/magic-lantern
Revision 6a07f4e838aa55d987404b17cc97a6e34ac6355a authored by alex@thinkpad on 25 November 2017, 23:13:58 UTC, committed by alex@thinkpad on 25 November 2017, 23:13:58 UTC
- helper to evaluate only once, only if used
- modules hgstamp: only evaluate if used
- CF_CARD, VERSION: only evaluate once if used
- PWD is special? renamed to avoid unneeded shell calls
Profiling tips:
- perf record make; perf report --sort comm
- make SHELL="sh -x"
- make clean SHELL="sh -x" |& grep "^+" | sort | uniq -c
1 parent 66e0e5e
History
Tip revision: 6a07f4e838aa55d987404b17cc97a6e34ac6355a authored by alex@thinkpad on 25 November 2017, 23:13:58 UTC
Makefile: speed optimizations
Tip revision: 6a07f4e
File Mode Size
build_tools
contrib
data
doc
doxygen
features
icons
include
installer
minimal
modules
platform
scripts
src
tcc
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 3.0 KB
COPYING -rw-r--r-- 17.6 KB
Doxyfile -rw-r--r-- 98.8 KB
Makefile -rw-r--r-- 2.8 KB
Makefile.filerules -rw-r--r-- 1.5 KB
Makefile.inc -rw-r--r-- 3.1 KB
Makefile.obsolete -rw-r--r-- 2.9 KB
Makefile.setup -rw-r--r-- 3.8 KB
Makefile.setup.toolchain -rw-r--r-- 2.2 KB
Makefile.top -rw-r--r-- 2.2 KB
Makefile.user.default -rw-r--r-- 6.9 KB
README.md -rw-r--r-- 838 bytes
logo.png -rw-r--r-- 7.8 KB

README.md

back to top