py-*.mk: Make the Python make modules self-contained #140
2 changed files with 4 additions and 4 deletions
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>
commit
66d1a117a4
|
|
@ -7,10 +7,6 @@ JW_PKG_DEF_MK_INCLUDED = true
|
||||||
|
|
||||||
MAKEFLAGS += -r
|
MAKEFLAGS += -r
|
||||||
|
|
||||||
empty :=
|
|
||||||
space := $(empty) $(empty)
|
|
||||||
comma := ,
|
|
||||||
|
|
||||||
include $(JWBDIR)/make/projects.mk
|
include $(JWBDIR)/make/projects.mk
|
||||||
|
|
||||||
# ----- Executables
|
# ----- Executables
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,10 @@
|
||||||
ifndef PLATFORM_MK_INCLUDED
|
ifndef PLATFORM_MK_INCLUDED
|
||||||
PLATFORM_MK_INCLUDED = true
|
PLATFORM_MK_INCLUDED = true
|
||||||
|
|
||||||
|
empty :=
|
||||||
|
space := $(empty) $(empty)
|
||||||
|
comma := ,
|
||||||
|
|
||||||
CACHE_PROJECT_MK ?= $(TOPDIR)/.cache-project.mk
|
CACHE_PROJECT_MK ?= $(TOPDIR)/.cache-project.mk
|
||||||
CACHE_PROJECTS_MK := $(JWBDIR)/.cache-projects.mk
|
CACHE_PROJECTS_MK := $(JWBDIR)/.cache-projects.mk
|
||||||
JW_PKG_NO_CACHE ?= false
|
JW_PKG_NO_CACHE ?= false
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue