platform.mk: Fix missing common.mk definitions #124
Loading…
Reference in a new issue
No description provided.
Delete branch "jan/feature/20260923-platform-mk-fix-missing-common-mk-definitions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
platform.mk: Fix missing common.mk definitions
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.