platform.mk: Define empty, space, comma

The PYTHONPATH export in py-path.mk is built by substituting the spaces of
the space-separated JW_PKG_PYTHON_PATH list with colons, using "space" from
defs.mk. Which may not be included if somebody wants to include a bare
py-defs.mk, so define it in platform.mk. Not happening in jw-pkg, but nice
to have.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-10-09 07:37:22 +02:00
commit 66d1a117a4
Signed by: Jan Lindemann
GPG key ID: 3750640C9E25DD61
2 changed files with 4 additions and 4 deletions

View file

@ -7,10 +7,6 @@ JW_PKG_DEF_MK_INCLUDED = true
MAKEFLAGS += -r
empty :=
space := $(empty) $(empty)
comma := ,
include $(JWBDIR)/make/projects.mk
# ----- Executables

View file

@ -3,6 +3,10 @@
ifndef PLATFORM_MK_INCLUDED
PLATFORM_MK_INCLUDED = true
empty :=
space := $(empty) $(empty)
comma := ,
CACHE_PROJECT_MK ?= $(TOPDIR)/.cache-project.mk
CACHE_PROJECTS_MK := $(JWBDIR)/.cache-projects.mk
JW_PKG_NO_CACHE ?= false