mirror of
https://github.com/scummvm/dockerized-bb.git
synced 2026-11-18 21:35:23 +00:00
ALL: Add more debug information for M4
This commit is contained in:
1 parent
c7839fd7bd
commit
01479e2d7e
1 file changed
+3
-2
@@ -2,6 +2,7 @@ BUILDBOT_VERSION=2.7.0
|
||||
|
||||
VERBOSE =
|
||||
BUILDDIR = .build
|
||||
M4_DEBUG = -dcxaeq
|
||||
|
||||
nothing:
|
||||
|
||||
@@ -67,7 +68,7 @@ $(TOOLCHAINS_DOC_TS): $(BUILDDIR)/%: %/Dockerfile
|
||||
$(TOOLCHAINS_M4_TS): $(BUILDDIR)/%: %/Dockerfile.m4 $(shell find toolchains/m4 -type f)
|
||||
@echo "Building $*"
|
||||
ifeq ($(VERBOSE),1)
|
||||
m4 -P -EE -I toolchains/m4 toolchains/m4/library.m4 $< > $(<D)/Dockerfile.debug
|
||||
m4 -P -EE $(M4_DEBUG) -I toolchains/m4 toolchains/m4/library.m4 $< 2>&1 > $(<D)/Dockerfile.debug
|
||||
endif
|
||||
m4 -P -EE -I toolchains/m4 toolchains/m4/library.m4 $< | \
|
||||
docker build -t $* -f - $(<D)
|
||||
@@ -104,7 +105,7 @@ $(WORKERS_DOC_TS): $(BUILDDIR)/%: %/Dockerfile
|
||||
$(WORKERS_M4_TS): $(BUILDDIR)/%: %/Dockerfile.m4 $(shell find workers/m4 -type f)
|
||||
@echo "Building $*"
|
||||
ifeq ($(VERBOSE),1)
|
||||
m4 -P -EE -I workers/m4 workers/m4/library.m4 $< > $(<D)/Dockerfile.debug
|
||||
m4 -P -EE $(M4_DEBUG) -I workers/m4 workers/m4/library.m4 $< 2>&1 > $(<D)/Dockerfile.debug
|
||||
endif
|
||||
m4 -P -EE -I workers/m4 workers/m4/library.m4 $< | \
|
||||
docker build --build-arg BUILDBOT_VERSION=$(BUILDBOT_VERSION) -t $* -f - $(<D)
|
||||
|
||||
Reference in new issue
Block a user