mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Make: init variables
Driving towards the goal of `make --warn-undefined-variables` working.
This commit is contained in:
parent
f5bb2c19b9
commit
83dc781d29
@ -32,6 +32,9 @@ endif
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /usr/bin/env bash
|
||||
|
||||
# Define variables so `make --warn-undefined-variables` works.
|
||||
PRINT_HELP ?=
|
||||
|
||||
# We don't need make's built-in rules.
|
||||
MAKEFLAGS += --no-builtin-rules
|
||||
.SUFFIXES:
|
||||
@ -56,10 +59,6 @@ $(error Both KUBE_GOFLAGS and GOFLAGS are set. Please use just GOFLAGS)
|
||||
endif
|
||||
endif
|
||||
|
||||
# Extra options for the release or quick-release options:
|
||||
KUBE_RELEASE_RUN_TESTS := $(KUBE_RELEASE_RUN_TESTS)
|
||||
KUBE_FASTBUILD := $(KUBE_FASTBUILD)
|
||||
|
||||
# This controls the verbosity of the build. Higher numbers mean more output.
|
||||
KUBE_VERBOSE ?= 1
|
||||
|
||||
|
@ -32,6 +32,10 @@ endif
|
||||
# It's necessary to set this because some environments don't link sh -> bash.
|
||||
SHELL := /usr/bin/env bash
|
||||
|
||||
# Define variables so `make --warn-undefined-variables` works.
|
||||
DBG_CODEGEN ?=
|
||||
UPDATE_API_KNOWN_VIOLATIONS ?=
|
||||
|
||||
# This rule collects all the generated file sets into a single rule. Other
|
||||
# rules should depend on this to ensure generated files are rebuilt.
|
||||
.PHONY: generated_files
|
||||
|
Loading…
Reference in New Issue
Block a user