blob: fabfa61da4d299ef6c5fb3c15a31c27eef7c7ad8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
MUSL=x86_64-unknown-linux-musl
.PHONY: all
all: ota_plus_client
.PHONY: ota_plus_client
ota_plus_client: src/
cargo build --release --target=$(MUSL)
cp target/$(MUSL)/release/ota_plus_client pkg/
.PHONY: deb
deb: ota_plus_client
pkg/pkg.sh deb $(CURDIR)
.PHONY: rpm
rpm: ota_plus_client
pkg/pkg.sh rpm $(CURDIR)
|