From b9f2157a950a5434bf3efd36407cf9c21bac28cf Mon Sep 17 00:00:00 2001 From: Loong Date: Mon, 31 Mar 2025 17:42:00 +0800 Subject: [PATCH] chore: remove useless val Signed-off-by: Loong --- tools/make/common.mk | 3 --- 1 file changed, 3 deletions(-) diff --git a/tools/make/common.mk b/tools/make/common.mk index 429dc079acf..e8ad27ef053 100644 --- a/tools/make/common.mk +++ b/tools/make/common.mk @@ -49,12 +49,9 @@ ifeq ($(origin PLATFORM), undefined) GOARCH := $(shell go env GOARCH) endif PLATFORM := $(GOOS)_$(GOARCH) - # Use linux as the default OS when building images - IMAGE_PLAT := linux_$(GOARCH) else GOOS := $(word 1, $(subst _, ,$(PLATFORM))) GOARCH := $(word 2, $(subst _, ,$(PLATFORM))) - IMAGE_PLAT := $(PLATFORM) endif # List commands in cmd directory for building targets