Skip to content

Commit

Permalink
package/go: ensure there is a host-go provider, take 2
Browse files Browse the repository at this point in the history
Commit 7b2a164 (package/go/go-bin: new host-go provider) broke the
case for prompt-less, host-only go packages, as the main host-go symbol
would not be selected.

This very same use-case was initially broken when the first go-src
provider was introduced with fa2536e (package/go: make host package
a virtual package), and subsequently fixed in 99a5d51 (package/go:
ensure there is a host-go provider), so 7b2a164 is causing a
regression of a fixed regression.

Fix that the very same way it was originally fixed.

Signed-off-by: Yann E. MORIN <[email protected]>
Cc: Yann E. MORIN <[email protected]>
Cc: Thomas Perale <[email protected]>
Signed-off-by: Julien Olivain <[email protected]>
  • Loading branch information
ymorin-orange authored and jolivain committed Nov 19, 2024
1 parent f3b8292 commit 575d971
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package/go/Config.in.host
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ config BR2_PACKAGE_HOST_GO_BIN

endchoice

endif

config BR2_PACKAGE_PROVIDES_HOST_GO
string
# Default to host-go-src
# Default to host-go-bin unless src explicitly requested
default "host-go-src" if BR2_PACKAGE_HOST_GO_SRC
default "host-go-bin" if BR2_PACKAGE_HOST_GO_BIN

endif
default "host-go-bin"

source "package/go/go-bin/Config.in.host"
source "package/go/go-bootstrap-stage1/Config.in.host"
Expand Down

0 comments on commit 575d971

Please sign in to comment.