From patchwork Thu Oct 24 07:53:54 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 177377 Delivered-To: patch@linaro.org Received: by 2002:a92:409a:0:0:0:0:0 with SMTP id d26csp1831381ill; Thu, 24 Oct 2019 00:55:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqw3b00rXr9spC74wUsXe1Lib4zj1VVSa71LKpnum7JqADq7oBYLtL33b7rloWGe5JsEJqZJ X-Received: by 2002:a63:f5a:: with SMTP id 26mr15365080pgp.63.1571903718652; Thu, 24 Oct 2019 00:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571903718; cv=none; d=google.com; s=arc-20160816; b=zSy8UwglQxrn60233zKTHzz1VmQR9svmQAvMAiQOfrWChWgNcrQx/yhG3Xkvc8NgVJ TL6A3UC3pJ7SkuwtLp9iS6FMIrjt372iIBuDMNKlXBDNk/h8b4LCn4GUiARVMmxzlDte mO3QZ90tCt8DprysnwE3+f3aXwoyTlNKkILf1nqVGqo9OacbvVzJvlf9M9OCKqy5C3So Oa0T1gOOlfrvr6WJOlsK219rVzpQQRO1c7p7QbeGVcM85bmYmm8LncgxZ7LaA67j46jB XqCtQ9lL155mxySO8Ao+ijkDbXtyzG+Robps86ewEzPDE1n8cQNYiY+g1ihhxT//Q5sS jo1A== 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=YQ2z4dG+f3bXa693PeEndy9Fj966QjCnWG2/AuBsSo8=; b=S9IFf5h9LYRh/9WwGH2W+lEGtG2tuFOuAacT/yQ7opiZzqezcjlKw20HeQQgMl/fyb 5F1WcF2wKOp172p0o6prN8BGcTNNcpSuNY4ofVFp3N8G93r7vWnlpsLn/Qyz3DCqL+MV 8odGJ0nyPNVUxpyMYNdnsj1ZI9C47I5hwya1BpaHBlNllxZxH1pBfFRN3KARYcp51iRj Sb3NlBAYjEwIoHaxmXUNEf9ySjvO2rXMw8u23LDX/F2G4OtNGpBa8O++bak4JBr/9FVj 7xydyMfAWMcUPcAKO8DkM3C0PhcffMYOJk2PrjQo3vWsc1ANjlqVQ16fq+ylYJOy/zxC Gw9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=MCgKs8vj; 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 n2si23071530plk.306.2019.10.24.00.55.18; Thu, 24 Oct 2019 00:55:18 -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=MCgKs8vj; 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 BEBFF7F90D; Thu, 24 Oct 2019 07:54:58 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl1-f181.google.com (mail-pl1-f181.google.com [209.85.214.181]) by mail.openembedded.org (Postfix) with ESMTP id 8F7817F8F7 for ; Thu, 24 Oct 2019 07:54:12 +0000 (UTC) Received: by mail-pl1-f181.google.com with SMTP id q15so11435373pll.11 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=tsd4ZWIAlCu9Z6wHprP+jzrnfP7THCozLg1bfs1Xyb8=; b=MCgKs8vjg3ZjzJptzm9VzR/TQ7Oec76enuKQQyYGAaVowqfV4bXnm6nlsdtKoYUfTP jkoSAgdC0kN2CMpUUm0Gb/m3aG1LiVZ28AocbDeemT/606BIBJ/41m+iTYzHxl0pA7eg lc3IicSeB+7suitPoPKgY8zBX5iAtmIppFdBtXx8ZyF64fRsc5RUgd+mbO7yvq3bIzkK rcntQ2i9IuzlpTW5ndWuFbWkX+hzuY+bhAXtQRS0jECJmAtfoZTIHKKezllil548Mb6U GDhRNQ5m7FnbpLkeVVVdkI5KArKqOtUlvgpC3UcQncPeo4uw71Du1Bhv1Cvci23IH+jO ptEQ== 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=tsd4ZWIAlCu9Z6wHprP+jzrnfP7THCozLg1bfs1Xyb8=; b=NjDlUIj72qNfLeeyl7+CxnKj3NlLX+myVKngAJOyrm8H2wcUf2df9kznU/J2TjeXFd 9Xk6LYymwQd0dva61bo9gQTe8+7pW4AaMQY2HhMb3b6D8dtZ5B/f0ak0viplQcKppOTK AjJ+dr5o75rzV0tKqPy3CvlSeqACles1iKSgjR5iWNL8aIXZ+Bk9uYOYV7juRbkFZV4k 0xxyF03ixJIsgOVk/NR6DlbWMCfX7tYHHNdN2TrPPdEnP1IWqMF5yVi2Tr9DdkvrYR5m +LDZdfk6047p8UrMwnckKNJeFcBaJiYMznrTY4qtM5H+/CkDhKI0HV57LluWiQSIhHUV /5zg== X-Gm-Message-State: APjAAAVfzMEAFYvgEVcmJPgE7j0RNmq6Cn9+33xW4P+XZRRYp0fCAZVS khbCKJNQu+u2ybNe+x/m3Ljixz73+KYxMQ== X-Received: by 2002:a17:902:8545:: with SMTP id d5mr14737522plo.145.1571903653270; 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.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Oct 2019 00:54:12 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Thu, 24 Oct 2019 00:53:54 -0700 Message-Id: <20191024075355.2136934-5-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 5/6] mraa: Define PYTHON_LIBRARY and PYTHON_INCLUDE_DIR 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 starts to look into native sysroot which we really do not want Signed-off-by: Khem Raj --- meta-oe/recipes-extended/mraa/mraa_git.bb | 2 ++ 1 file changed, 2 insertions(+) -- 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/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index 17ca262734..6d42c67719 100644 --- a/meta-oe/recipes-extended/mraa/mraa_git.bb +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb @@ -22,6 +22,8 @@ DEPENDS += "json-c" EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH=ON \ -DPYTHON3_PACKAGES_PATH:PATH=${baselib}/python${PYTHON_BASEVERSION}/site-packages \ + -DPYTHON_LIBRARY=${STAGING_LIBDIR}/lib${PYTHON_DIR}${PYTHON_ABI}.so \ + -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \ " # Prepend mraa-utils to make sure bindir ends up in there