platform.mk: Fix missing common.mk definitions
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 10m3s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m35s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 8m11s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 5m38s
CI / Packaging test (push) Successful in 0s
All checks were successful
CI / Packaging - Kali Linux (pull_request) Successful in 10m3s
CI / Packaging - OpenSUSE Tumbleweed (pull_request) Successful in 5m35s
CI / Packaging test (pull_request) Successful in 0s
CI / Packaging - Kali Linux (push) Successful in 8m11s
CI / Packaging - OpenSUSE Tumbleweed (push) Successful in 5m38s
CI / Packaging test (push) Successful in 0s
platform.mk needs JWB_SCRIPT_DIR before it checks if TARGET_TUPLE is empty, otherwise downstream projects including platform.mk without defs.mk error out (as does jw-bind-zones-ldap-priv via projects.mk: /usr/bin/python3.13: can't open file '/jw-pkg.py': [Errno 2] No such file or directory ../jw-pkg/make/platform.mk:172: *** TARGET_TUPLE is empty. Schluss.. The fix is to include common.mk earlier in the stack in platform.mk. defs.mk then includes it via projects.mk, so remove direct inclusion from there. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
4823463b88
commit
83905e021c
2 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,6 @@ empty :=
|
||||||
space := $(empty) $(empty)
|
space := $(empty) $(empty)
|
||||||
comma := ,
|
comma := ,
|
||||||
|
|
||||||
include $(JWBDIR)/make/common.mk
|
|
||||||
include $(JWBDIR)/make/projects.mk
|
include $(JWBDIR)/make/projects.mk
|
||||||
|
|
||||||
# ----- Executables
|
# ----- Executables
|
||||||
|
|
|
||||||
|
|
@ -63,6 +63,7 @@ else
|
||||||
export SHELL := /bin/bash
|
export SHELL := /bin/bash
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
include $(JWBDIR)/make/common.mk
|
||||||
include $(JWBDIR)/make/py-version.mk
|
include $(JWBDIR)/make/py-version.mk
|
||||||
|
|
||||||
JW_PKG_PY = $(PYTHON) $(JWB_SCRIPT_DIR)/jw-pkg.py -p $(PROJECTS_DIR) -t $(TOPDIR) $(JW_PKG_PY_EXTRA_OPTS)
|
JW_PKG_PY = $(PYTHON) $(JWB_SCRIPT_DIR)/jw-pkg.py -p $(PROJECTS_DIR) -t $(TOPDIR) $(JW_PKG_PY_EXTRA_OPTS)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue