f9df4870a2d83f1899addc1f6e019ecff42a5469
Since commitfd562315, which updated waf to v2.1.1, Buildroot has encountered issues building mpv, likely due to an outdated version of the waf build system. Starting with mpv v0.35, meson was introduced as an alternative to waf, and in mpv v0.37, waf was completely removed. This commit updates the mpv makefile to use meson, resolving the build issues and simplifying future updates to newer versions of mpv. All options previously used for Waf have been translated to the new build system by replacing `--disable-feature` with `-Dfeature=disabled` (and similarly for enabling features). Some features have special handling: - The `/usr` prefix is automatically passed to meson packages by default. - The Android feature "has been removed since meson can detect if a machine is Android"[1]. - The `libmpv` parameter has been enabled in the makefile as `libmpv` must be built by default with mpv. - Meson packages automatically set whether the library should be built statically using the `default_library` meson parameter. - Meson automatically detects the presence of `libatomic` and passes the correct argument to the linker. However, it is possible to set the `stdatomic` meson parameter to specify whether `libatomic` must or must not be used. Fixes: https://autobuild.buildroot.org/results/68d42441fc0da34e1bf2a4247726f5f4ec3b8e77/ [1]:140ec21c89/DOCS/build-system-differences.md (L48)Signed-off-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com> Tested-by: J. Neuschäfer <j.ne@posteo.net> Signed-off-by: Julien Olivain <ju.o@free.fr> (cherry picked from commit8f69974c20) Signed-off-by: Thomas Perale <thomas.perale@mind.be>
…
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.9%
Python
18.3%
C
8.6%
Shell
6.2%
PHP
1.4%
Other
2.2%