From 7389d3d5c592ed516d3f0752eb9d77c7984c925c Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Wed, 30 Dec 2015 22:43:40 +0800 Subject: [PATCH] python packages: update host install path Host installs should now go into $(STAGING_DIR_HOST)/usr to match python-host.mk. Signed-off-by: Jeffery To --- lang/python-cffi/Makefile | 2 +- lang/python-ply/Makefile | 2 +- lang/python-pycparser/Makefile | 2 +- lang/python-setuptools/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lang/python-cffi/Makefile b/lang/python-cffi/Makefile index a9911b575..b78bce1d5 100644 --- a/lang/python-cffi/Makefile +++ b/lang/python-cffi/Makefile @@ -45,7 +45,7 @@ define Build/Compile endef define Host/Compile - $(call Build/Compile/HostPyMod,,install --prefix="" --root="$(STAGING_DIR_HOST)") + $(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR_HOST)") endef define Host/Install diff --git a/lang/python-ply/Makefile b/lang/python-ply/Makefile index fa7c42a3c..e8b974a68 100644 --- a/lang/python-ply/Makefile +++ b/lang/python-ply/Makefile @@ -53,7 +53,7 @@ define Build/InstallDev endef define Host/Compile - $(call Build/Compile/HostPyMod,,install --prefix="" --root="$(STAGING_DIR_HOST)") + $(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR_HOST)") endef define Host/Install diff --git a/lang/python-pycparser/Makefile b/lang/python-pycparser/Makefile index fa105cc95..c5e03f2bb 100644 --- a/lang/python-pycparser/Makefile +++ b/lang/python-pycparser/Makefile @@ -47,7 +47,7 @@ define Build/Compile endef define Host/Compile - $(call Build/Compile/HostPyMod,,install --prefix="" --root="$(STAGING_DIR_HOST)") + $(call Build/Compile/HostPyMod,,install --prefix="/usr" --root="$(STAGING_DIR_HOST)") endef define Host/Install diff --git a/lang/python-setuptools/Makefile b/lang/python-setuptools/Makefile index 27c26e8cc..71d30fec1 100644 --- a/lang/python-setuptools/Makefile +++ b/lang/python-setuptools/Makefile @@ -60,7 +60,7 @@ endef define Host/Compile $(call Build/Compile/HostPyMod,,\ - install --root="$(STAGING_DIR_HOST)" --prefix="" \ + install --root="$(STAGING_DIR_HOST)" --prefix="/usr" \ --single-version-externally-managed \ ) endef