mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 16:01:54 -09:00
72c6d2f54acc60d597b602d8dd3d650fc49848ba
Commit1facb09b94("package/nodejs: build host-nodejs only if we're installing modules with NPM") forgot to account for the dependency on Qemu. Now that nodejs no longer depends on host-nodejs, but needs host-qemu, we need to make sure that nodejs selects the relevant BR2_PACKAGE_HOST_QEMU options. So this patch: - Drops the dependency of BR2_PACKAGE_NODEJS_ARCH_SUPPORTS on BR2_PACKAGE_QEMU_ARCH_SUPPORTS_TARGET, which was incorrect: we don't care about running Qemu on the target. We care about host-qemu supporting the emulation of the target architecture, which is what BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS is for. - Adds the dependency to the relevant BR2_PACKAGE_HOST_QEMU options to BR2_PACKAGE_NODEJS, so that host-qemu is built with the appropriate features needed to build the target nodejs. - Removes the qemu related dependencies from host-nodejs, which does not need Qemu at all. Without this change the build of nodejs without npm enabled is broken as the host-qemu that gets built does not have all the features that are needed. There are no autobuild failures at this point, however. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> (cherry picked from commita88ba1548a) 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%