From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ee0-x236.google.com ([2a00:1450:4013:c00::236]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WSXQD-0008DJ-Be for ptxdist@pengutronix.de; Tue, 25 Mar 2014 20:54:06 +0100 Received: by mail-ee0-f54.google.com with SMTP id d49so867558eek.27 for ; Tue, 25 Mar 2014 12:53:59 -0700 (PDT) From: Alexander Aring Date: Tue, 25 Mar 2014 20:53:47 +0100 Message-Id: <1395777230-16813-2-git-send-email-alex.aring@gmail.com> In-Reply-To: <1395777230-16813-1-git-send-email-alex.aring@gmail.com> References: <1395777230-16813-1-git-send-email-alex.aring@gmail.com> Subject: [ptxdist] [PATCH v2 1/4] host-cython: add CROSS_CYTHON_ENV declaration Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alexander Aring This patch adds a CROSS_CYTHON_ENV declaration to the host-cython make rule file. Cython usually a host binary "cython", that's why it is a host tool. Besides cython there exist a way to use cython in the setup.py framework of python. Then we need to add to $(CROSS_PYTHON) an env to "add" a site-package search path to the $(PTXCONF_SYSROOT_HOST). Signed-off-by: Alexander Aring --- rules/host-cython.make | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/host-cython.make b/rules/host-cython.make index 212b12d..a12dfe4 100644 --- a/rules/host-cython.make +++ b/rules/host-cython.make @@ -25,6 +25,8 @@ HOST_CYTHON_SOURCE := $(SRCDIR)/$(HOST_CYTHON).$(HOST_CYTHON_SUFFIX) HOST_CYTHON_DIR := $(HOST_BUILDDIR)/$(HOST_CYTHON) HOST_CYTHON_LICENSE := APLv2 +CROSS_CYTHON_ENV := PYTHONUSERBASE=$(PTXCONF_SYSROOT_HOST) + # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- -- 1.9.1 -- ptxdist mailing list ptxdist@pengutronix.de