1 From fa912b53186a047d787c8c456156b9dbdcdf040d Mon Sep 17 00:00:00 2001
2 From: Bruce Ashfield <bruce.ashfield@windriver.com>
3 Date: Thu, 1 Nov 2018 10:21:10 -0400
4 Subject: [PATCH] cross: don't build tests by default
6 The hack/* build infrastructure doesn't respect the WHAT= commands
7 that the make infrastructure provides to limit what is built.
9 In our case, we are cross building and can't build the server test
10 components without error. As such, we patch the targets out of the
11 script to allow a successful build.
13 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
15 hack/make-rules/cross.sh | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
18 diff --git a/src/import/hack/make-rules/cross.sh b/hack/make-rules/cross.sh
19 index 8e1e938..0898c5c 100755
20 --- a/src/import/hack/make-rules/cross.sh
21 +++ b/src/import/hack/make-rules/cross.sh
22 @@ -33,6 +33,6 @@ make all WHAT="${KUBE_NODE_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_NODE_PLATFO
24 make all WHAT="${KUBE_CLIENT_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_CLIENT_PLATFORMS[*]}"
26 -make all WHAT="${KUBE_TEST_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_TEST_PLATFORMS[*]}"
27 +#make all WHAT="${KUBE_TEST_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_TEST_PLATFORMS[*]}"
29 -make all WHAT="${KUBE_TEST_SERVER_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_TEST_SERVER_PLATFORMS[*]}"
30 +#make all WHAT="${KUBE_TEST_SERVER_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_TEST_SERVER_PLATFORMS[*]}"