Add explicit support for prod amd64 build in Makefile
parent
f0047a7a0c
commit
319acbd0e1
5
Makefile
5
Makefile
|
@ -21,6 +21,10 @@ build-arm64:
|
||||||
build-armhf:
|
build-armhf:
|
||||||
GOOS=linux GOARCH=arm RELEASE=prod make build
|
GOOS=linux GOARCH=arm RELEASE=prod make build
|
||||||
|
|
||||||
|
build-amd64:
|
||||||
|
GOOS=linux GOARCH=amd64 RELEASE=prod make build
|
||||||
|
|
||||||
|
|
||||||
build:
|
build:
|
||||||
@echo "Building ${GOOS}-${GOARCH}"
|
@echo "Building ${GOOS}-${GOARCH}"
|
||||||
GOOS=${GOOS} GOARCH=${GOARCH} go build \
|
GOOS=${GOOS} GOARCH=${GOARCH} go build \
|
||||||
|
@ -54,6 +58,7 @@ install-prod: build-prod install
|
||||||
install-cloud: build-cloud install
|
install-cloud: build-cloud install
|
||||||
install-arm64: build-arm64 install
|
install-arm64: build-arm64 install
|
||||||
install-armhf: build-armhf install
|
install-armhf: build-armhf install
|
||||||
|
install-amd64: build-amd64 install
|
||||||
|
|
||||||
start:
|
start:
|
||||||
systemctl start edgeboxctl
|
systemctl start edgeboxctl
|
||||||
|
|
Loading…
Reference in New Issue