Make: $(foo:-) is shell, not makefile syntax

Driving towards `make --warn-undefined-variables`.
This commit is contained in:
Tim Hockin 2021-01-19 15:32:31 -08:00
parent ee170145b2
commit e46810bca5

View File

@ -581,7 +581,7 @@ endif
# The Make rule fails if generated API rule violation report differs from the
# checked-in violation file, and prints error message to request developer to
# fix either the API source code, or the known API rule violation file.
$$($(prefix)_OPENAPI_OUTFILE): $(OPENAPI_GEN) $($(prefix)_KNOWN_VIOLATION_FILENAME:-)
$$($(prefix)_OPENAPI_OUTFILE): $(OPENAPI_GEN) $($(prefix)_KNOWN_VIOLATION_FILENAME)
./hack/run-in-gopath.sh $(OPENAPI_GEN) \
--v $(KUBE_VERBOSE) \
--logtostderr \