From 256f294b8b1ce958f392a4b639369f2ed5798ac9 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Thu, 8 Oct 2026 19:34:06 +0200 Subject: [PATCH] py-path.mk: Include platform.mk for JW_PKG_PY py-path.mk invokes $(JW_PKG_PY) to compute JW_PKG_PYTHON_PATH, but does not include the file that defines the variable. Not a problem from inside jw-pkg, but nice to have if you want to include std-targets.mk and py-defs.mk without anything else, so include it. Also drop a dead debug line in the py-path target. Assisted-by: unsloth/Qwen3.8-27B-GGUF:Q4_K_M with pi.dev v1.1.0 Signed-off-by: Jan Lindemann --- make/py-path.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/make/py-path.mk b/make/py-path.mk index 64c03dab..d1c96a3d 100644 --- a/make/py-path.mk +++ b/make/py-path.mk @@ -1,4 +1,5 @@ -# -- PYTHONPATH +include $(JWBDIR)/make/platform.mk # For JW_PKG_PY + PYTHONPATH_ENV := $(PYTHONPATH) ifeq ($(origin JW_PKG_PYTHON_PATH),undefined) JW_PKG_PYTHON_PATH := $(shell $(JW_PKG_PY) --topdir-format absolute projects pythonpath --delimiter ' ' $(PROJECT) $(PREREQ_RUN)) @@ -14,4 +15,3 @@ py-tools.clean: py-path: @echo "PYTHONPATH=$(PYTHONPATH)" - @#echo "MYPYPATH=$(MYPYPATH)"