diff options
| author | zhangjie <iamkadisi@163.com> | 2020-02-05 19:41:18 +0800 |
|---|---|---|
| committer | zhangjie <iamkadisi@163.com> | 2020-02-18 16:12:25 +0800 |
| commit | cb3e3dc36f658d1df9d3bd798cef648c26b454cb (patch) | |
| tree | 8287b844c8d3e410f31ef6ed557c9df0ecf0c24d /edgesite | |
| parent | support integrationtest (diff) | |
| download | kubeedge-cb3e3dc36f658d1df9d3bd798cef648c26b454cb.tar.gz | |
support make crossbuild
Signed-off-by: zhangjie <iamkadisi@163.com>
Diffstat (limited to 'edgesite')
| -rw-r--r-- | edgesite/Makefile | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/edgesite/Makefile b/edgesite/Makefile index 302f0bddf..e4b359948 100644 --- a/edgesite/Makefile +++ b/edgesite/Makefile @@ -1,28 +1,3 @@ -.PHONY: cross_build -cross_build: verify - export GOARCH=arm64 \ - export GOOS="linux" \ - export CGO_ENABLED=1 \ - export CC=aarch64-linux-gnu-gcc; \ - go build cmd/edgesite/edgesite.go - -.PHONY: armv7 -armv7: verify - export GOARCH=arm \ - export GOOS="linux" \ - export GOARM=7 \ - export CGO_ENABLED=1 \ - export CC=arm-linux-gnueabi-gcc; \ - go build cmd/edgesite/edgesite.go - -.PHONY: armv8 -armv8: verify - export GOARCH=arm64 \ - export GOOS="linux" \ - export CGO_ENABLED=1 \ - export CC=aarch64-linux-gnu-gcc; \ - go build cmd/edgesite/edgesite.go - .PHONY: small_build small_build: verify go build -ldflags="-w -s -extldflags -static" cmd/edgesite/edgesite.go |
