diff options
| author | Dave Chen <dave.jungler@gmail.com> | 2020-02-17 19:29:26 +0800 |
|---|---|---|
| committer | Dave Chen <dave.jungler@gmail.com> | 2020-02-17 19:29:26 +0800 |
| commit | c6290bb81b62a373da6896fe758b97a75239b5ec (patch) | |
| tree | 5be08ef795fa9325c7daaf406a26a2b4b5cefe93 /edgesite | |
| parent | Merge pull request #1465 from kevin-wangzefeng/changelogs (diff) | |
| download | kubeedge-c6290bb81b62a373da6896fe758b97a75239b5ec.tar.gz | |
Fix the gating issue with ubuntu distro
- upgrade ubuntu distro from `xenial` to `cosmic` and make
it a default config
- fix the cross-building issue by add the mandatory packages.
- make `cross_build` target build arm64 instead of arm32 since
arm64 is used more widely.
Diffstat (limited to 'edgesite')
| -rw-r--r-- | edgesite/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/edgesite/Makefile b/edgesite/Makefile index 9af0ac376..eb3c10069 100644 --- a/edgesite/Makefile +++ b/edgesite/Makefile @@ -11,11 +11,10 @@ verify: .PHONY: cross_build cross_build: verify - export GOARCH=arm \ + export GOARCH=arm64 \ export GOOS="linux" \ - export GOARM=6 \ export CGO_ENABLED=1 \ - export CC=arm-linux-gnueabi-gcc; \ + export CC=aarch64-linux-gnu-gcc; \ go build cmd/edgesite/edgesite.go .PHONY: armv7 |
