Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
7a434da5
Commit
7a434da5
authored
May 06, 2016
by
Adam Reese
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(Makefile): fix broken cross binary build
parent
d0dd3021
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
6 deletions
+4
-6
Makefile
Makefile
+4
-6
No files found.
Makefile
View file @
7a434da5
...
...
@@ -4,8 +4,6 @@ SHORT_NAME ?= tiller
# go option
GO
?=
go
GOARCH
?=
$(
shell
go
env
GOARCH
)
GOOS
?=
$(
shell
go
env
GOOS
)
PKG
:=
$(
shell
glide novendor
)
TAGS
:=
TESTS
:=
.
...
...
@@ -30,11 +28,10 @@ check-docker:
fi
.PHONY
:
docker-binary
docker-binary
:
GOOS = linux
docker-binary
:
GOARCH = amd64
docker-binary
:
BINDIR = $(CURDIR)/rootfs
docker-binary
:
BINDIR = ./rootfs
docker-binary
:
GOFLAGS += -a -installsuffix cgo
docker-binary
:
build
docker-binary
:
GOOS
=
linux
GOARCH
=
amd64
CGO_ENABLED
=
0
$(GO)
build
-o
$(BINDIR)
/tiller
$(GOFLAGS)
-tags
'
$(TAGS)
'
-ldflags
'
$(LDFLAGS)
'
github.com/kubernetes/helm/cmd/tiller
.PHONY
:
docker-build
docker-build
:
check-docker docker-binary
...
...
@@ -58,6 +55,7 @@ test-style:
.PHONY
:
clean
clean
:
@
rm
-rf
$(BINDIR)
@
rm
./rootfs/tiller
.PHONY
:
coverage
coverage
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment