add PLATFORM var
This commit is contained in:
parent
db9ab961fd
commit
68a9c216ab
1
Makefile
1
Makefile
|
@ -1,6 +1,7 @@
|
||||||
DEFAULT_GOAL := $(or $(DEFAULT_GOAL),toolchain)
|
DEFAULT_GOAL := $(or $(DEFAULT_GOAL),toolchain)
|
||||||
ARCH := $(or $(ARCH),x86_64)
|
ARCH := $(or $(ARCH),x86_64)
|
||||||
TARGET := $(or $(TARGET),$(ARCH))
|
TARGET := $(or $(TARGET),$(ARCH))
|
||||||
|
PLATFORM := $(or $(PLATFORM),linux)
|
||||||
NAME := $(shell basename $(shell git rev-parse --show-toplevel))
|
NAME := $(shell basename $(shell git rev-parse --show-toplevel))
|
||||||
IMAGE := local/$(NAME):latest
|
IMAGE := local/$(NAME):latest
|
||||||
USER := $(shell id -u):$(shell id -g)
|
USER := $(shell id -u):$(shell id -g)
|
||||||
|
|
Loading…
Reference in New Issue