mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 05:51:45 -09:00
package/pkg-generic.mk: require git on the host for packages using cargo/go vendoring
The vendoring done for cargo / go packages (may) need git, so ensure we
check for it in dependencies, similar to how it is done for packages
directly using git.
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 8c8ee42bbe)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
@@ -1250,6 +1250,13 @@ else ifeq ($$($(2)_SITE_METHOD),cvs)
|
|||||||
DL_TOOLS_DEPENDENCIES += cvs
|
DL_TOOLS_DEPENDENCIES += cvs
|
||||||
endif # SITE_METHOD
|
endif # SITE_METHOD
|
||||||
|
|
||||||
|
# cargo/go vendoring (may) need git
|
||||||
|
ifeq ($$($(2)_DOWNLOAD_POST_PROCESS),cargo)
|
||||||
|
DL_TOOLS_DEPENDENCIES += git
|
||||||
|
else ifeq ($$($(2)_DOWNLOAD_POST_PROCESS),go)
|
||||||
|
DL_TOOLS_DEPENDENCIES += git
|
||||||
|
endif
|
||||||
|
|
||||||
DL_TOOLS_DEPENDENCIES += $$(call extractor-system-dependency,$$($(2)_SOURCE))
|
DL_TOOLS_DEPENDENCIES += $$(call extractor-system-dependency,$$($(2)_SOURCE))
|
||||||
|
|
||||||
# Ensure all virtual targets are PHONY. Listed alphabetically.
|
# Ensure all virtual targets are PHONY. Listed alphabetically.
|
||||||
|
|||||||
Reference in New Issue
Block a user