From 5fcad99ee6d9745d6e454356ba10c335af6fa2ec Mon Sep 17 00:00:00 2001 From: Christoph Blecker Date: Thu, 19 Jul 2018 15:08:11 -0700 Subject: [PATCH] Only build generators for building platform --- build/root/Makefile.generated_files | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/build/root/Makefile.generated_files b/build/root/Makefile.generated_files index cce8b60cbad..e6a790227ab 100644 --- a/build/root/Makefile.generated_files +++ b/build/root/Makefile.generated_files @@ -197,7 +197,7 @@ $(DEEPCOPY_FILES): $(DEEPCOPY_GEN) # newer than the binary, and try to "rebuild" it over and over. So we touch # it, and make is happy. $(DEEPCOPY_GEN): $(k8s.io/kubernetes/vendor/k8s.io/code-generator/cmd/deepcopy-gen) - hack/make-rules/build.sh ./vendor/k8s.io/code-generator/cmd/deepcopy-gen + KUBE_BUILD_PLATFORMS="" hack/make-rules/build.sh ./vendor/k8s.io/code-generator/cmd/deepcopy-gen touch $@ @@ -291,7 +291,7 @@ $(DEFAULTER_FILES): $(DEFAULTER_GEN) # newer than the binary, and try to "rebuild" it over and over. So we touch # it, and make is happy. $(DEFAULTER_GEN): $(k8s.io/kubernetes/vendor/k8s.io/code-generator/cmd/defaulter-gen) - hack/make-rules/build.sh ./vendor/k8s.io/code-generator/cmd/defaulter-gen + KUBE_BUILD_PLATFORMS="" hack/make-rules/build.sh ./vendor/k8s.io/code-generator/cmd/defaulter-gen touch $@ @@ -388,7 +388,7 @@ $(CONVERSION_FILES): $(CONVERSION_GEN) # newer than the binary, and try to rebuild it over and over. So we touch it, # and make is happy. $(CONVERSION_GEN): $(k8s.io/kubernetes/vendor/k8s.io/code-generator/cmd/conversion-gen) - hack/make-rules/build.sh ./vendor/k8s.io/code-generator/cmd/conversion-gen + KUBE_BUILD_PLATFORMS="" hack/make-rules/build.sh ./vendor/k8s.io/code-generator/cmd/conversion-gen touch $@ @@ -465,7 +465,7 @@ $(OPENAPI_OUTFILE): $(OPENAPI_GEN) $(KNOWN_VIOLATION_FILENAME) # newer than the binary, and try to "rebuild" it over and over. So we touch # it, and make is happy. $(OPENAPI_GEN): $(k8s.io/kubernetes/vendor/k8s.io/kube-openapi/cmd/openapi-gen) - hack/make-rules/build.sh ./vendor/k8s.io/kube-openapi/cmd/openapi-gen + KUBE_BUILD_PLATFORMS="" hack/make-rules/build.sh ./vendor/k8s.io/kube-openapi/cmd/openapi-gen touch $@ @@ -494,5 +494,5 @@ gen_bindata: $(BINDATA_GEN) FORCE # newer than the binary, and try to rebuild it over and over. So we touch it, # and make is happy. $(BINDATA_GEN): $(k8s.io/kubernetes/vendor/github.com/jteeuwen/go-bindata/go-bindata) - hack/make-rules/build.sh ./vendor/github.com/jteeuwen/go-bindata/go-bindata + KUBE_BUILD_PLATFORMS="" hack/make-rules/build.sh ./vendor/github.com/jteeuwen/go-bindata/go-bindata touch $@