mirror of
https://git.proxmox.com/git/efi-boot-shim
synced 2025-08-07 08:05:24 +00:00
Try to make coverity.mk work without cov-build installed.
This commit is contained in:
parent
aa48ac96ba
commit
f16c7dc632
@ -38,11 +38,8 @@ coverity-all : cov-int-all cov-file cov-upload
|
|||||||
|
|
||||||
clean : | cov-clean
|
clean : | cov-clean
|
||||||
|
|
||||||
COV_BUILD ?= $(shell x=$$(which --skip-alias --skip-functions cov-build 2>/dev/null) ; [ -n "$$x" ] && echo 1)
|
COV_BUILD ?= $(shell x=$$(which --skip-alias --skip-functions cov-build 2>/dev/null) ; [ -n "$$x" ] && echo "$$x")
|
||||||
ifeq ($(COV_BUILD),)
|
|
||||||
COV_BUILD_ERROR = $(error cov-build not found)
|
|
||||||
endif
|
|
||||||
|
|
||||||
cov-test : ; $(COV_BUILD_ERROR)
|
cov-test : ; $(if $(findstring /,$(COV_BUILD)),,$(error cov-build not found))
|
||||||
|
|
||||||
.PHONY : coverity cov-upload cov-clean cov-file cov-test
|
.PHONY : coverity cov-upload cov-clean cov-file cov-test
|
||||||
|
Loading…
Reference in New Issue
Block a user