LXC: set LXC_ENV_FOLDER=lxc/$(shell hostname)/

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2020-03-23 18:05:46 +01:00
parent 103c542b37
commit baf1ffd1fa
4 changed files with 14 additions and 9 deletions

View file

@ -8,9 +8,9 @@ export PYTHONPATH := $(SITE_PYTHON):$$PYTHONPATH
export PY_ENV PYDIST PYBUILD
# folder where the python distribution takes place
PYDIST = ./dist$(LXC_ENV_FOLDER)
PYDIST = ./$(LXC_ENV_FOLDER)dist
# folder where the python intermediate build files take place
PYBUILD = ./build$(LXC_ENV_FOLDER)
PYBUILD = ./$(LXC_ENV_FOLDER)build
# python version to use
PY ?=3
PYTHON ?= python$(PY)
@ -28,7 +28,7 @@ TEST_FOLDER ?= ./tests
TEST ?= .
VTENV_OPTS ?=
PY_ENV = ./local$(LXC_ENV_FOLDER)/py$(PY)
PY_ENV = ./$(LXC_ENV_FOLDER)local/py$(PY)
PY_ENV_BIN = $(PY_ENV)/bin
PY_ENV_ACT = . $(PY_ENV_BIN)/activate