mirror of
https://github.com/Neur0toxine/lg-webos-devmode-timer-extender.git
synced 2025-02-02 23:59:24 +03:00
MIPS support
This commit is contained in:
parent
6c44b45c30
commit
026c4e6c64
12
Makefile
12
Makefile
@ -9,14 +9,18 @@ all:
|
||||
|
||||
build: deps fmt
|
||||
@echo "> Building"
|
||||
# TODO: TinyGo has problems with the arm crosscompilation. See this: https://github.com/tinygo-org/tinygo/issues/1906
|
||||
#@CGO_ENABLED=0 GOOS=linux GOARCH=arm tinygo build -o $(BIN)_linux_arm . && strip $(BIN)_linux_arm && upx -9 $(BIN)_linux_arm
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=arm go build -ldflags="-s -w" -o $(BIN)_linux_arm . && upx -9 $(BIN)_linux_arm
|
||||
@echo $(BIN)_linux_arm
|
||||
# TODO: TinyGo has problems with the arm crosscompilation. See this: https://github.com/tinygo-org/tinygo/issues/1906
|
||||
#@CGO_ENABLED=0 GOOS=linux GOARCH=arm64 tinygo build -o $(BIN)_linux_arm64 . && strip $(BIN)_linux_arm64 && upx -9 $(BIN)_linux_arm64
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o $(BIN)_linux_arm64 . && upx -9 $(BIN)_linux_arm64
|
||||
@echo $(BIN)_linux_arm64
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=mips go build -ldflags="-s -w" -o $(BIN)_linux_mips . && upx -9 $(BIN)_linux_mips
|
||||
@echo $(BIN)_linux_mips
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=mipsle go build -ldflags="-s -w" -o $(BIN)_linux_mipsle . && upx -9 $(BIN)_linux_mipsle
|
||||
@echo $(BIN)_linux_mipsle
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=mips64 go build -ldflags="-s -w" -o $(BIN)_linux_mips64 .
|
||||
@echo $(BIN)_linux_mips64
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=mips64le go build -ldflags="-s -w" -o $(BIN)_linux_mips64le .
|
||||
@echo $(BIN)_linux_mips64le
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=386 go build -ldflags="-s -w" -o $(BIN)_linux_386 . && upx -9 $(BIN)_linux_386
|
||||
@echo $(BIN)_linux_386
|
||||
@CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o $(BIN)_linux_amd64 . && upx -9 $(BIN)_linux_amd64
|
||||
|
Loading…
x
Reference in New Issue
Block a user