From 6c2e15ed1aed6a1cc6269286631114b2481c9e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Helgi=20=C3=9Eorbj=C3=B6rnsson?= Date: Tue, 21 Nov 2017 18:36:04 -0800 Subject: [PATCH] Make build-cross TARGETS configurable Lets us build a subset of the targets while still using build-cross To build for multiple linux archs: TARGETS="linux/amd64 linux/386" make clean build-cross dist APP=helm VERSION=v25.12.2 --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 737be298c..a5bdf1b8f 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ DOCKER_REGISTRY ?= gcr.io IMAGE_PREFIX ?= kubernetes-helm SHORT_NAME ?= tiller SHORT_NAME_RUDDER ?= rudder -TARGETS = darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le windows/amd64 +TARGETS ?= darwin/amd64 linux/amd64 linux/386 linux/arm linux/arm64 linux/ppc64le windows/amd64 DIST_DIRS = find * -type d -exec APP = helm