add PLATFORM var

This commit is contained in:
Lance Vick 2023-02-06 12:54:17 -08:00
parent db9ab961fd
commit 68a9c216ab
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
DEFAULT_GOAL := $(or $(DEFAULT_GOAL),toolchain)
ARCH := $(or $(ARCH),x86_64)
TARGET := $(or $(TARGET),$(ARCH))
PLATFORM := $(or $(PLATFORM),linux)
NAME := $(shell basename $(shell git rev-parse --show-toplevel))
IMAGE := local/$(NAME):latest
USER := $(shell id -u):$(shell id -g)