|
@ -20,8 +20,9 @@ PYTHON:=python$(PYTHON_VERSION) |
|
|
HOST_PYTHON_LIB_DIR:=$(STAGING_DIR_HOST)/lib/python$(PYTHON_VERSION) |
|
|
HOST_PYTHON_LIB_DIR:=$(STAGING_DIR_HOST)/lib/python$(PYTHON_VERSION) |
|
|
HOST_PYTHON_BIN:=$(STAGING_DIR_HOST)/bin/python2 |
|
|
HOST_PYTHON_BIN:=$(STAGING_DIR_HOST)/bin/python2 |
|
|
|
|
|
|
|
|
|
|
|
PYTHONPATH:=$(PYTHON_LIB_DIR):$(STAGING_DIR)/$(PYTHON_PKG_DIR) |
|
|
define HostPython |
|
|
define HostPython |
|
|
( export PYTHONPATH="$(PYTHON_LIB_DIR):$(STAGING_DIR)/$(PYTHON_PKG_DIR)"; \
|
|
|
|
|
|
|
|
|
( export PYTHONPATH="$(PYTHONPATH)"; \
|
|
|
export PYTHONOPTIMIZE=""; \
|
|
|
export PYTHONOPTIMIZE=""; \
|
|
|
export PYTHONDONTWRITEBYTECODE=1; \
|
|
|
export PYTHONDONTWRITEBYTECODE=1; \
|
|
|
$(1) \
|
|
|
$(1) \
|
|
|