From 497e148f443a363a1fb7a1ca99602b9fe1aa68c5 Mon Sep 17 00:00:00 2001 From: Alberto Fanjul Date: Thu, 20 Aug 2026 10:55:40 +0200 Subject: [PATCH 1/2] set install as default target make detects install-out-of-tree-tools as default target --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index cb484f175..b5cd089ab 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,10 @@ GCFLAGS := all=-N -l GOOS := $(shell go env GOOS) GOARCH := $(shell go env GOARCH) +# Add default target +.PHONY: default +default: install + # Tools TOOLS_DIR := tools include tools/tools.mk @@ -57,10 +61,6 @@ define tkn_update sed -e 's%%$(1)%g' -e 's%%$(2)%g' tkn/template/infra-ibmcloud-ibm-gaudi.yaml > tkn/infra-ibmcloud-ibm-gaudi.yaml endef -# Add default target -.PHONY: default -default: install - # Create and update the vendor directory .PHONY: vendor vendor: From f60b1d6fc803334467da67041f4a4b3e77cfa32c Mon Sep 17 00:00:00 2001 From: Alberto Fanjul Date: Thu, 20 Aug 2026 10:57:34 +0200 Subject: [PATCH 2/2] Use go mechanism to honor go version required by project --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index b5cd089ab..de5695994 100644 --- a/Makefile +++ b/Makefile @@ -16,6 +16,7 @@ GITLAB_RUNNER ?= 19.3.0 OTELCOL_VERSION ?= 0.151.0 # Go and compilation related variables +export GOTOOLCHAIN ?= auto GOPATH ?= $(shell go env GOPATH) BUILD_DIR ?= out SOURCE_DIRS = cmd pkg