mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-08 23:51:08 -09:00
99a5d51c6e9fbc24b86e1c144253cdfe5eb770c8
Commitfa2536ec94(package/go: make host package a virtual package) introduced host-go as a host-only virtual package, which had a single provider, the choice of which is only exposed when a (target or host) package has selected BR2_PACKAGE_HOST_GO to indicate it needs host-go. However, this forgot to account for prompt-less, host-only packages, which have no way of selecting that symbol. Having prompt-less, host-only packages is a totally unexceptional, supported case; for example a host package can be depended upon by another (target or host) package, or by a filesystem, and we do not require Kconfig symbols to be exposed for those packages. As a consequence, when not package is enabled, that can select that symbol, we can't run 'make source' or 'make host-foo-source': make[1]: *** No rule to make target 'host-', needed by '[...]/build/host-go-1.22.4/.stamp_configured'. Stop. Fix that by moving the provider symbol out of the if-block, so that there is always a provider defined. Now, we only have host-go-src as a provider, but the symbol is still part of the choice that is conditional (and that _has_ to be conditional), so the BR2_PACKAGE_HOST_GO_SRC can never be set unless there is a package that explicitly select BR2_PACKAGE_HOST_GO. So, drop the conditional on the default, so that there is always a provider available. This mirrors other similar situations, like the rust case. Fixes:fa2536ec94Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> LGTM: Arnout Vandecappelle (Essensium/Mind) (on IRC) <arnout@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.5%
Python
19%
C
8.5%
Shell
6.1%
PHP
1.4%
Other
2.1%