mirror of https://github.com/containers/podman.git
Use incremental go build
Speed up kpod builds by not recompiling eveything but only what has changed. Signed-off-by: baude <bbaude@redhat.com> Closes: #139 Approved by: rhatdan
This commit is contained in:
parent
3ba2c3e117
commit
90d984ef9a
2
Makefile
2
Makefile
|
|
@ -88,7 +88,7 @@ test/checkseccomp/checkseccomp: .gopathok $(wildcard test/checkseccomp/*.go)
|
|||
$(GO) build $(LDFLAGS) -tags "$(BUILDTAGS) containers_image_ostree_stub" -o $@ $(PROJECT)/test/checkseccomp
|
||||
|
||||
kpod: .gopathok $(shell hack/find-godeps.sh $(GOPKGDIR) cmd/kpod $(PROJECT))
|
||||
$(GO) build $(LDFLAGS_KPOD) -tags "$(BUILDTAGS)" -o bin/$@ $(PROJECT)/cmd/kpod
|
||||
$(GO) build -i $(LDFLAGS_KPOD) -tags "$(BUILDTAGS)" -o bin/$@ $(PROJECT)/cmd/kpod
|
||||
|
||||
clean:
|
||||
ifneq ($(GOPATH),)
|
||||
|
|
|
|||
Loading…
Reference in New Issue