@@ -13,12 +13,13 @@ DOCKER_CLI_LICENSE_FILES = LICENSE
DOCKER_CLI_DEPENDENCIES = host-pkgconf
-DOCKER_CLI_TAGS = autogen
-DOCKER_CLI_BUILD_TARGETS = cmd/docker
-
+DOCKER_CLI_GOMOD = github.com/docker/cli
DOCKER_CLI_LDFLAGS = \
- -X github.com/docker/cli/cli.GitCommit=$(DOCKER_CLI_VERSION) \
- -X github.com/docker/cli/cli.Version=$(DOCKER_CLI_VERSION)
+ -X $(DOCKER_CLI_GOMOD).GitCommit=$(DOCKER_CLI_VERSION) \
+ -X $(DOCKER_CLI_GOMOD).Version=$(DOCKER_CLI_VERSION)
+
+DOCKER_CLI_BUILD_TARGETS = $(DOCKER_CLI_GOMOD)/cmd/docker
+DOCKER_CLI_TAGS = autogen
ifeq ($(BR2_PACKAGE_DOCKER_CLI_STATIC),y)
DOCKER_CLI_LDFLAGS += -extldflags '-static'
Signed-off-by: Christian Stewart <christian@paral.in> --- package/docker-cli/docker-cli.mk | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)