mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -09:00
9233cf95933f69fe3e3f4aa23fbb26da148e09cc
For change log since version 9.2.9, see: https://www.swi-prolog.org/ChangeLog?branch=stable&from=9.2.9&to=10.0.2 This new version can no longer build in the source tree. Therefore, this commit adds SWIPL_SUPPORTS_IN_SOURCE_BUILD = NO. Also, the target swipl needs the host-swipl binary. It is searched by the cmake script. This commit changes SWIPL_NATIVE_FRIEND variable to point to the out-of-source build directory. swipl has now a stricter ABI check of its prolog library bytecode compiled files, compared to its builtin expected ABI: https://github.com/SWI-Prolog/swipl/blob/V10.0.2/src/pl-init.c#L263 When cross-compiling, swipl is built on one side, and library files are built with the host-swipl. The ABI string of the host-swipl and target swipl must match. If not matching, swipl fail to start at runtime with the error: FATAL: could not find SWI-Prolog home Tried source: compiled in Found /usr/lib/swipl: ABI mismatch This ABI string includes a signature of builtin modules. See: https://github.com/SWI-Prolog/swipl/blob/V10.0.2/src/pl-init.c#L1653 https://github.com/SWI-Prolog/swipl/blob/V10.0.2/src/pl-ext.c#L330 The swipl ncurses support is made with one those builtin module. ncurses development files are likely present on host and likely not enabled or needed on target, hence producing a different ABI signature. For that reason, this commit disables ncurses on both the host and target. Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.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 https://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%