mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-27 15:01:03 +08:00
update
This commit is contained in:
parent
e004ab1693
commit
2d75a6ccd4
@ -4,12 +4,13 @@ TARGET ?= Debug
|
|||||||
DOCKER = docker run --rm -v $(ROOT):$(ROOT) -v $(CURDIR):/root -w $(CURDIR)
|
DOCKER = docker run --rm -v $(ROOT):$(ROOT) -v $(CURDIR):/root -w $(CURDIR)
|
||||||
IMAGE ?= springrockconsulting/stm32cubeide:v1
|
IMAGE ?= springrockconsulting/stm32cubeide:v1
|
||||||
# image author did not set path, so a hardcoded reference to a variable name dir is needed
|
# image author did not set path, so a hardcoded reference to a variable name dir is needed
|
||||||
|
PATHTO ?= /opt/st/stm32cubeide_1.12.0/
|
||||||
|
|
||||||
all: $(PROJECTS)
|
all: $(PROJECTS)
|
||||||
$(DOCKER) $(IMAGE) /opt/st/stm32cubeide_1.12.0/headless-build.sh -data workspace -removeAll workspace
|
$(DOCKER) $(IMAGE) $(PATHTO)headless-build.sh -data workspace -removeAll workspace
|
||||||
|
|
||||||
$(PROJECTS): FORCE
|
$(PROJECTS): FORCE
|
||||||
$(DOCKER) $(IMAGE) /opt/st/stm32cubeide_1.12.0/headless-build.sh -data workspace -import $@ -cleanBuild $(@F)/$(TARGET)
|
$(DOCKER) $(IMAGE) $(PATHTO)headless-build.sh -data workspace -import $@ -cleanBuild $(@F)/$(TARGET)
|
||||||
|
|
||||||
FORCE:
|
FORCE:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user