mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-08 00:20:38 -09:00
*.mk: replace (TARGET|HOST)_PATH by BR_PATH
Thanks to the 2 previous patches of the series, BR_PATH contains all locations in which host-packages may install programs. This patch replaces the occurrences TARGET_PATH and HOST_PATH with BR_PATH, everywhere these variables are used in the *.mk files. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
c7d660b18e
commit
8445501740
@@ -22,7 +22,7 @@
|
||||
|
||||
# Target distutils-based packages
|
||||
PKG_PYTHON_DISTUTILS_ENV = \
|
||||
PATH="$(TARGET_PATH)" \
|
||||
PATH=$(BR_PATH) \
|
||||
CC="$(TARGET_CC)" \
|
||||
CFLAGS="$(TARGET_CFLAGS)" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
@@ -40,14 +40,14 @@ PKG_PYTHON_DISTUTILS_INSTALL_OPT = \
|
||||
|
||||
# Host distutils-based packages
|
||||
HOST_PKG_PYTHON_DISTUTILS_ENV = \
|
||||
PATH="$(HOST_PATH)"
|
||||
PATH=$(BR_PATH)
|
||||
|
||||
HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPT = \
|
||||
--prefix=$(HOST_DIR)/usr
|
||||
|
||||
# Target setuptools-based packages
|
||||
PKG_PYTHON_SETUPTOOLS_ENV = \
|
||||
PATH="$(TARGET_PATH)" \
|
||||
PATH=$(BR_PATH) \
|
||||
PYTHONPATH="$(if $(BR2_PACKAGE_PYTHON3),$(PYTHON3_PATH),$(PYTHON_PATH))" \
|
||||
_python_sysroot=$(STAGING_DIR) \
|
||||
_python_prefix=/usr \
|
||||
@@ -61,7 +61,7 @@ PKG_PYTHON_SETUPTOOLS_INSTALL_OPT = \
|
||||
|
||||
# Host setuptools-based packages
|
||||
HOST_PKG_PYTHON_SETUPTOOLS_ENV = \
|
||||
PATH="$(HOST_PATH)"
|
||||
PATH=$(BR_PATH)
|
||||
|
||||
HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPT = \
|
||||
--prefix=$(HOST_DIR)/usr
|
||||
|
||||
Reference in New Issue
Block a user