From 66d1a117a4486c179ea87caddd56b4f9aaaec601 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Fri, 9 Oct 2026 07:37:22 +0200 Subject: [PATCH] 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 --- make/defs.mk | 4 ---- make/platform.mk | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/make/defs.mk b/make/defs.mk index 73149126..78f856ca 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -7,10 +7,6 @@ JW_PKG_DEF_MK_INCLUDED = true MAKEFLAGS += -r -empty := -space := $(empty) $(empty) -comma := , - include $(JWBDIR)/make/projects.mk # ----- Executables diff --git a/make/platform.mk b/make/platform.mk index 19a07bc8..3a2c9cc8 100644 --- a/make/platform.mk +++ b/make/platform.mk @@ -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