add inspector to makefile (#1269)

This commit is contained in:
Bryan White 2019-02-08 09:53:40 +01:00 committed by Egon Elbre
parent c35b93766d
commit aa99968c66

View File

@ -168,8 +168,11 @@ identity_%:
.PHONY: certificates_% .PHONY: certificates_%
certificates_%: certificates_%:
GOOS=$(word 2, $(subst _, ,$@)) GOARCH=$(word 3, $(subst _, ,$@)) COMPONENT=certificates $(MAKE) binary GOOS=$(word 2, $(subst _, ,$@)) GOARCH=$(word 3, $(subst _, ,$@)) COMPONENT=certificates $(MAKE) binary
.PHONY: inspector_%
inspector_%:
GOOS=$(word 2, $(subst _, ,$@)) GOARCH=$(word 3, $(subst _, ,$@)) COMPONENT=inspector $(MAKE) binary
COMPONENTLIST := gateway satellite storagenode uplink identity certificates COMPONENTLIST := gateway satellite storagenode uplink identity certificates inspector
OSARCHLIST := darwin_amd64 linux_amd64 linux_arm windows_amd64 OSARCHLIST := darwin_amd64 linux_amd64 linux_arm windows_amd64
BINARIES := $(foreach C,$(COMPONENTLIST),$(foreach O,$(OSARCHLIST),$C_$O)) BINARIES := $(foreach C,$(COMPONENTLIST),$(foreach O,$(OSARCHLIST),$C_$O))
.PHONY: binaries .PHONY: binaries