diff options
author | Leah Rowe <leah@libreboot.org> | 2024-05-18 04:53:31 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-05-18 04:53:31 +0100 |
commit | f8e3ca3b2246efb5e525bd8f45adafe6a93ed8a0 (patch) | |
tree | 633edfffdd5306a9293bc354151cf43cd5b46b69 /util/autoport/ec_lenovo.go | |
parent | dd851caac9078b621bc03f59f7735bcbbd2e9fb1 (diff) |
git.sh: Remove .git if XBMK_RELEASE=y
The build system already deletes .git in all source
directories for each given release, but does so at
the very end; it still does, but now it is deleted
one by one per project, to save space during very
large builds (release sizes vary wildly, depending
on how many trees exist for coreboot basically).
If you're building entirely in tmpfs (as I do), this
could be a problem if you have lots of .git/ directories.
This change reduces disk usage, or in the above example,
memory usage when running the build system from tmpfs.
This complements another recent change, where ROM images
are compressed per target during release builds, rather
than all at the very end of the process. It is part of a
series of optimisations, to reduce the memory and disk
usage of the build system, and to reduce I/O wastage
in general.
This change will not be the last of such changes!
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util/autoport/ec_lenovo.go')
0 files changed, 0 insertions, 0 deletions