Remove Makefile undefined variables logic

It didn't do what I thought it did and was just noise.  Specifically, it only
kicks in for recursive `make` invocations.
This commit is contained in:
Tim Hockin
2016-07-19 20:13:01 -07:00
parent 8fb8f3d41b
commit 5930c57378

View File

@@ -36,9 +36,6 @@ SHELL := /bin/bash
MAKEFLAGS += --no-builtin-rules MAKEFLAGS += --no-builtin-rules
.SUFFIXES: .SUFFIXES:
# We want make to yell at us if we use undefined variables.
MAKEFLAGS += --warn-undefined-variables
# Constants used throughout. # Constants used throughout.
OUT_DIR ?= _output OUT_DIR ?= _output
BIN_DIR := $(OUT_DIR)/bin BIN_DIR := $(OUT_DIR)/bin
@@ -47,20 +44,9 @@ PRJ_SRC_PATH := k8s.io/kubernetes
# Metadata for driving the build lives here. # Metadata for driving the build lives here.
META_DIR := .make META_DIR := .make
# export KUBE_GOFLAGS := $(GOFLAGS)
# Define variables that we use as inputs so we can warn about undefined variables.
#
WHAT ?= export KUBE_GOLDFLAGS := $(GOLDFLAGS)
TESTS ?=
GOFLAGS ?=
KUBE_GOFLAGS = $(GOFLAGS)
export KUBE_GOFLAGS GOFLAGS
GOLDFLAGS ?=
KUBE_GOLDFLAGS = $(GOLDFLAGS)
export KUBE_GOLDFLAGS GOLDFLAGS
# Build code. # Build code.
# #