File fix-support-for-ppc64le.patch of Package kubernetes
diff --git a/Makefile b/Makefile
index a6b2fbe..41e2d59 100644
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ MAKEFLAGS += --no-builtin-rules
# Constants used throughout.
.EXPORT_ALL_VARIABLES:
OUT_DIR ?= _output
-BIN_DIR := $(OUT_DIR)/bin
+BIN_DIR := $(OUT_DIR)/local/go/bin
PRJ_SRC_PATH := k8s.io/kubernetes
GENERATED_FILE_PREFIX := zz_generated.
diff --git a/hack/lib/init.sh b/hack/lib/init.sh
index fc9f0d8..8593ebd 100644
--- a/hack/lib/init.sh
+++ b/hack/lib/init.sh
@@ -46,7 +46,7 @@ source "${KUBE_ROOT}/hack/lib/version.sh"
source "${KUBE_ROOT}/hack/lib/golang.sh"
source "${KUBE_ROOT}/hack/lib/etcd.sh"
-KUBE_OUTPUT_HOSTBIN="/usr/bin"
+KUBE_OUTPUT_HOSTBIN="${KUBE_OUTPUT_BINPATH}/go/bin"
# list of all available group versions. This should be used when generated code
# or when starting an API server that you want to have everything.
diff --git a/hack/lib/util.sh b/hack/lib/util.sh
index 30d97be..0dfe400 100755
--- a/hack/lib/util.sh
+++ b/hack/lib/util.sh
@@ -168,7 +168,7 @@ kube::util::find-binary-for-platform() {
local -r lookfor="$1"
local -r platform="$2"
local locations=(
- "${KUBE_ROOT}/_output/bin/${lookfor}"
+ "${KUBE_ROOT}/_output/local/go/bin/${lookfor}"
"${KUBE_ROOT}/_output/dockerized/bin/${platform}/${lookfor}"
"${KUBE_ROOT}/_output/local/bin/${platform}/${lookfor}"
"${KUBE_ROOT}/platforms/${platform}/${lookfor}"