From patchwork Thu Oct 24 07:53:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 177378 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1831475ill; Thu, 24 Oct 2019 00:55:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqwBcpXp/AqoCbkItJmsLUel0UnK2TZyxyLiFUNHm5DPySRODahT08iL0ZruVpJ7QuAYqh7Z X-Received: by 2002:a17:90a:bb0a:: with SMTP id u10mr5552343pjr.14.1571903725838; Thu, 24 Oct 2019 00:55:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571903725; cv=none; d=google.com; s=arc-20160816; b=JFlDniVcecYE+8XWULHriI8h5cSNKIwJzc8St932ShuA9hqbrbBH2kIoaaG7F7zIWf cHXKpMBJFKWnUO6uptScCTs6xY++BqTWWPOpYAOI4LXR+1RXTbr9cyHrZcgmGoguYG4G fAXamHkLG/iOO3HHVqWRCSIPdwKyJoaGfP2mER47NJ1sjuD16H2XG7LxpUndzo6fyXWT U0kmlWkuc4WIFgQjSsZZ2MaGCR5jl9M6jsnCOIfTAfuw53pTuO5I/T6EfK0we/ITYL9l hG9CiwHKte06/kBaXFDzxnj+6FcgahBXJz0uRV2Infn0RZRK3SuM7pUd/FqJnpsMD4vj r8HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=jk3G/ic0NqClA3UTfYPyyojOY9tn7J6abN1SkM+8WHk=; b=JKJM3t8El/SBnVcYzHdkCxZ2g6IYAekvk4k1PEu775mXyAHvLyGYl7YvJIuKrJnEbd 11FtsjzUCsmo3yN1zuqwAb+CO//MoKuxISO1HttwDI05UsWVZiO5v8POxjphNQga6ssC FY2jGWvn2BF4HT6EoppYIevv2CW6XE3ZfCLqZQJr9tdeZGahx2o9aT+tZoiSmoYXMT6v us1YT2RCKhHZtI8/wpy+AOFVokN5lWJDirEpwxJEJWXIe+91xf+L1LvGLZXxO9wkeQg+ Xy7YyKctOhLYEMBfr6TC4FIH6U31yMb2NJCc+/TqRVgI5jr2QwQk8j+yebNbshtrqv9t c1zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=joXRTf5I; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id q18si25620832pgv.439.2019.10.24.00.55.25; Thu, 24 Oct 2019 00:55:25 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=joXRTf5I; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id E93DA7F912; Thu, 24 Oct 2019 07:54:59 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by mail.openembedded.org (Postfix) with ESMTP id 2A4D97F8FD for ; Thu, 24 Oct 2019 07:54:13 +0000 (UTC) Received: by mail-pg1-f195.google.com with SMTP id e15so13710413pgu.13 for ; Thu, 24 Oct 2019 00:54:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=5UOopt6MiBKhlHvFyvwo66zngJXqDdbv0AQ+niciEnc=; b=joXRTf5I+mimrYz5RPxr1tlUQfL297ZrgM6/a0uP1ihoqqjjBesS2X4k24caJcvTWV 2dLm7wn99WAfigLlGvzj46Qf8sHFLHsckk2plccoMtM7c8U5/FnPs7Nv1C78UmOwxdok EqY7zYlCaxQBG4YdUkqkbEusUHtXzlKfM4f+nNEvP47w12EDq7Z4IFhYcY+Db2t+KN1F UeIUaWYTT5T7d12WfEzIZ0POAGN3I1VcKdKLventls1XerComM4y5qSV0cg8H+Mtno55 RP7DiVy6A49r+3lm2y2GjNI63QKe2Vw9wISoJp+lD3ftcmfKJZYL88mxCV9bkdKzD6aE +LkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5UOopt6MiBKhlHvFyvwo66zngJXqDdbv0AQ+niciEnc=; b=c31bo9XMCDxXe9HfwmgImDChe44CFOGz+Qp5b5pGyeEZHMc7cioO9pttmAUpu3y2Zc /TLQYXS7h/X3PDDNyeCfaY7zIdoYJX+jiAjs9i1nmPplnmKAZ38IKz77dfjxjyrqzrTr Zw/I9JNV3ZOPjef8d++bxZJac3VkVK1PXJOvkywnwY8VSaxWOUFUXD5q78eX7jNNtp57 /Wrl0oACnMHTWsmL7sNs7D5x8zD8q0fkaIcn+WsEuENANUpdadSogriywB1aGk1z9DVH wVLcvZgpCDoPqfu+zUTzNhgDR9F57e1Yodk+dQsDxQVcV9y2nrnuHM1sV9bpkssXJZqh qfZA== X-Gm-Message-State: APjAAAVw9yLCcG46eVsY+IXyOJYY6/mmfvUn2RUmmSkdEC4/ZYBp4qr7 e3z8EevR7Y2V9vGE2TjmynMMXvn5dQ+gWg== X-Received: by 2002:a62:6247:: with SMTP id w68mr16312374pfb.11.1571903653949; Thu, 24 Oct 2019 00:54:13 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net ([2601:646:8500:1c20::a6a5]) by smtp.gmail.com with ESMTPSA id k93sm3402431pjh.3.2019.10.24.00.54.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 00:54:13 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 24 Oct 2019 00:53:55 -0700 Message-Id: <20191024075355.2136934-6-raj.khem@gmail.com> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191024075355.2136934-1-raj.khem@gmail.com> References: <20191024075355.2136934-1-raj.khem@gmail.com> MIME-Version: 1.0 Subject: [oe] [meta-oe][PATCH 6/6] upm: Define PYTHON_INCLUDE_DIR and PYTHON_LIBRARY for cmake X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org Otherwise it peeks into native sysroot now and starts using native python which is undesirable, this is happening after the oe-core change https://git.openembedded.org/openembedded-core/commit/?id=7847f431cd8db59fce8c9401a603c4b0678ee16d Signed-off-by: Khem Raj --- meta-oe/recipes-extended/upm/upm_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.23.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/upm/upm_git.bb b/meta-oe/recipes-extended/upm/upm_git.bb index a6b379ec36..fb22e83359 100644 --- a/meta-oe/recipes-extended/upm/upm_git.bb +++ b/meta-oe/recipes-extended/upm/upm_git.bb @@ -36,7 +36,7 @@ BINDINGS_armv5 ??= "python" PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ ${@bb.utils.contains('PACKAGES', '${PYTHON_PN}-${PN}', 'python', '', d)}" -PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=ON, -DBUILDSWIGPYTHON=OFF, swig-native ${PYTHON_PN}," +PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=ON -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI}, -DBUILDSWIGPYTHON=OFF, swig-native ${PYTHON_PN}," PACKAGECONFIG[nodejs] = "-DBUILDSWIGNODE=ON, -DBUILDSWIGNODE=OFF, swig-native nodejs-native," FILES_${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR}"