Skip to content

Commit 5765e53

Browse files
committed
build: Fixed build stage issue for crossbuild
1 parent 1ecb8aa commit 5765e53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ DOCKER_IMAGE_TAG ?= $(subst /,-,$(shell git rev-parse --abbrev-ref HEAD))
2222
all: format style vet test build
2323

2424
build: promu
25-
@$(PROMU) build --prefix $(BIN_DIR)
25+
@$(PROMU) build --prefix $(PREFIX)
2626

2727
crossbuild: promu
2828
@$(PROMU) crossbuild
@@ -63,7 +63,7 @@ style:
6363

6464
tarball: promu
6565
@echo ">> building release tarball"
66-
@$(PROMU) tarball --prefix $(TARBALL_DIR) $(BIN_DIR)
66+
@$(PROMU) tarball --prefix $(PREFIX) $(BIN_DIR)
6767

6868
test:
6969
@$(GO) test $(pkgs)

0 commit comments

Comments
 (0)