mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
369aefe055180b15c31ec80d229a31d56aaadb88
Commitbf446513e7(ncurses: fix hanging installation due to old version of tic) introduced the build of the host tic, to be used by the target ncurses. That commit purportedly built a static tic, but that is (at least now) wrong: there is nothing that makes the build of tic static. Initially, host-ncurses was configured with --without-shared, but that only drives whether to generate shared libs or not, it does not drive whether to do a shared or static link of executables. And in any case, inaf23d762e5(ncurses: enable shared library build on the host) we explicitly stopped requesting the build of a static library, to instead require the build of a shared library. So, we never had a statically linked tic ever. Furthermore, we override the _BUKLLD_CMDS, but we do not provide any _INSTALL_CMDS. As a consequence, the full ncurses is installed, not just tic. And since we override the _BUILD_CMDS, the libraries are not built, so they get built during the install step. And we do indeed need the libraries (host-gettext needs them), and not just tic. So, just drop our custom _BUILD_CMDS and just build the whole package with the default settings. We keep the explicit use of --with-shared, as this is not the standard flag (--enable-shared) and it is not obvious what the default is. The set of files installed before and after this change is exactly the same, and tic still is an "ELF 64-bit LSB shared object" with a RUNPATH that still correctly points to $(HOST_DIR)/lib To be noted: there is no regressin in build time either, since we were already building everything anyway. Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit8b15de20a0) 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%