mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-18 21:33:39 -09:00
4da66e8130c6d2af9c15534a29df74ca7bbfe629
Currently, we accept that the merged usr is backward, i.e. that the /usr/bin, /usr/sbin, and /usr/lib entries be symlinks to, resp., /bin, /sbin, and /lib. We also allow either entries to be symlinks to other parts of the root. Both are accepted despite the comment at the top of the script explaining what should be accepted. However, a properly merged usr is the other way around: /bin, /sbin, and /lib are the symlinks to resp. /usr/bin, /usr/sbin, and /usr/lib, which are actual directories. Fix the check-merged-usr script accordingly: implement the test as we mean it, by testing the conditions rather than resorting to a convoluted and incorrect use of stat(1). Even though the split between test_dir() and test_merged() seems superfluous, it'll come useful when we introduce support for merged-bin in a later patch. For skeletons, we require that the directories do exist, while we allow them to be missing for overlays; indeed, it is perfectly legit to provide an overlay that only contains totally unrelated directories (e.g. /var/www to populate a webroot for example). Extend the heading-comment to be more explicit (and drop '/' as there is nothing to say about it). Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Romain Naour <romain.naour@smile.fr>
…
…
…
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.6%
Python
18.8%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.2%