From: Arnout Vandecappelle Date: Tue, 4 Jul 2017 14:04:03 +0000 (+0200) Subject: pkg-python: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=048689be87693b45a7d682ebe2754d1db9bf4f61;p=buildroot.git pkg-python: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. Build-tested with a bunch of python packages. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-python.mk b/package/pkg-python.mk index 2418f5dfa4..6e411ab5c5 100644 --- a/package/pkg-python.mk +++ b/package/pkg-python.mk @@ -53,7 +53,7 @@ HOST_PKG_PYTHON_DISTUTILS_ENV = \ PYTHONNOUSERSITE=1 HOST_PKG_PYTHON_DISTUTILS_INSTALL_OPTS = \ - --prefix=$(HOST_DIR)/usr + --prefix=$(HOST_DIR) # Target setuptools-based packages PKG_PYTHON_SETUPTOOLS_ENV = \ @@ -83,7 +83,7 @@ HOST_PKG_PYTHON_SETUPTOOLS_ENV = \ PYTHONNOUSERSITE=1 HOST_PKG_PYTHON_SETUPTOOLS_INSTALL_OPTS = \ - --prefix=$(HOST_DIR)/usr + --prefix=$(HOST_DIR) ################################################################################ # inner-python-package -- defines how the configuration, compilation