Cross Compilation to Raspberry Pi(ARMv7)

Back

Example Makefile

.PHONY: build

build:
	env GOOS=linux GOARCH=arm go build