ensure NAME is always lowercase
This commit is contained in:
parent
be41f7cfe1
commit
d0d66c2d57
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ 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)
|
PLATFORM := $(or $(PLATFORM),linux)
|
||||||
NAME := $(shell basename $(shell git rev-parse --show-toplevel))
|
NAME := $(shell basename $(shell git rev-parse --show-toplevel | tr A-Z a-z ))
|
||||||
IMAGE := local/$(NAME):latest
|
IMAGE := local/$(NAME):latest
|
||||||
USER := $(shell id -u):$(shell id -g)
|
USER := $(shell id -u):$(shell id -g)
|
||||||
CPUS := $(shell docker run -it debian nproc)
|
CPUS := $(shell docker run -it debian nproc)
|
||||||
|
|
Loading…
Reference in New Issue