mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
afd4e922385735b61e0c8a865579fbdefbb393b5
Commit21d52e52d8(package/pkg-utils.mk: break hardlinks in global {TARGET, HOST}_DIR on per-package build) stopped hardlink the source and destination when rsyncing per-package directory, on the rationale that modifying files in-place after the rsync would also modify the original file, and that break foo-rebuild and can cause issues with post-build scripts. However, what21d52e52d8did not envision, is that copying instead of hard-linking has two nasty side effects: - the size increase for the build directory increase with the number of packages and with the depth of th dependency chains for those packages: a (relatively small) build that was previously totalling ~13GiB in output/, now totals north of 122GiB, an almost 10-time increase; - the build time increases, as it takes more time to read+write files than it takes to create a new link to a file; the same build saw an increase of build time from 5min 10s to 7min 30s, a 45% increase. These regressions are both serious, so revert the change; we'll come up with a stopgap measure in follow-up commits. This reverts commit21d52e52d8. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Cc: Herve Codina <herve.codina@bootlin.com> Cc: Peter Korsgaard <peter@korsgaard.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Herve Codina <herve.codina@bootlin.com> (cherry picked from commit8f1487d6fa) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
…
Buildroot is a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation. The documentation can be found in docs/manual. You can generate a text document with 'make manual-text' and read output/docs/manual/manual.text. Online documentation can be found at http://buildroot.org/docs.html To build and use the buildroot stuff, do the following: 1) run 'make menuconfig' 2) select the target architecture and the packages you wish to compile 3) run 'make' 4) wait while it compiles 5) find the kernel, bootloader, root filesystem, etc. in output/images You do not need to be root to build or run buildroot. Have fun! Buildroot comes with a basic configuration for a number of boards. Run 'make list-defconfigs' to view the list of provided configurations. Please feed suggestions, bug reports, insults, and bribes back to the buildroot mailing list: buildroot@buildroot.org You can also find us on #buildroot on OFTC IRC. If you would like to contribute patches, please read https://buildroot.org/manual.html#submitting-patches
Description
Languages
Makefile
62.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%