package/pkg-golang: host-go is also a build dependency
Currently, host-go is a download dependency, because we need go for the vendoring during the download step. However, when using a package in override-srcdir, there is no download step, so host-go is not pulled in as a dependency, which will break the build of a single package from scratch. We fix that by adding host-go as a standard dependency too. Signed-off-by: Yann E. MORIN <yann.morin@orange.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Christian Stewart <christian@paral.in> Cc: Anisse Astier <anisse@astier.eu> Acked-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Reviewed-by: Christian Stewart <christian@paral.in> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
a1ef4c1d9a
commit
3539f45ca0
@ -47,8 +47,10 @@ $(2)_BUILD_OPTS += \
|
||||
-trimpath \
|
||||
-p $(PARALLEL_JOBS)
|
||||
|
||||
# Target packages need the Go compiler on the host.
|
||||
# Target packages need the Go compiler on the host at download time (for
|
||||
# vendoring), and at build and install time.
|
||||
$(2)_DOWNLOAD_DEPENDENCIES += host-go
|
||||
$(2)_DEPENDENCIES += host-go
|
||||
|
||||
$(2)_BUILD_TARGETS ?= .
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user