From patchwork Fri Sep 22 18:21:33 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 114073 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp3597558qgf; Fri, 22 Sep 2017 11:21:46 -0700 (PDT) X-Received: by 10.99.114.29 with SMTP id n29mr67344pgc.26.1506104506453; Fri, 22 Sep 2017 11:21:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1506104506; cv=none; d=google.com; s=arc-20160816; b=weMMErF6eSAVuFReWqXPmbfuY6FOi5VUpvjL5vYQhgNSMTHFFrKdghcOYu2KVhG/Kq sk2LGK7quoDhIpyMfP6k6qXePe58+JILZUTtP3ugmhVgofrAKBNrodcMZmAM0hZjfyuW K7gkZahAbHAHK0a+z+vINhLWd6++611RtRVpcofNQm592a6r01ccxZ9k+hQAC1FeMqjM lCUkFpp+INmM+FH2zRG1mNpoSdAEqd7tPwXA/jww1KWRGzlWpDpGQFLAMgPhqTpBBT5c kmaMQNKc0xDRM9KcRYKMATJd5i3YFrYSkFqex6dzhnZ36yFoi44wROwb/11CL+hosycO WzHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=8SOAISSUyTr/zsZjLaLNVLuBDNsUhFjxuykgU8enO6I=; b=XtNn0J4oUG6uGjfDj8cZW6KqmiSJHZPC0rbV4B6bxBJNnaRER47nBprcCfZ9Ff1UOV U+LIXQ6+Bq58pQuE7KXNSUtJFvV4s8t3zZ9Bvr/2VOx3F5IKg0u4gir42XhD+yHYbTKV AfBYoQ28m+TKVrQeH8+dmAbZXQ51Jrc+jQWDvlQs9zBTdL9heYZ2bPddYsqi5PQm1R8m 1bCaL4xa3MyGnpmQhTx4fb8h8/mYPUwf4eLElXwqF7BSx1Q19Kuh9ba4gXM1btwVCptM 6iCeXUb8S+Rju3JxW2TpGCd8BrwG2HY9xfq7Y70y8uNKBWPocW4iSFPrKqG2FDFBlryr 7HUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=aIxBpqR8; 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=NONE 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 u189si225678pgb.161.2017.09.22.11.21.46; Fri, 22 Sep 2017 11:21:46 -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=aIxBpqR8; 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=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id A71F1783FD; Fri, 22 Sep 2017 18:21:42 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id 8235671BA6 for ; Fri, 22 Sep 2017 18:21:41 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id a7so754467pfj.5 for ; Fri, 22 Sep 2017 11:21:43 -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; bh=QuRHxBiyYk+nmnKXkZ0kEwjFm+0WR134yWmW8VZ2w2Y=; b=aIxBpqR8pDRNg+e33iSP8P761qcqswEZnyYbRp2xFLcNZOdCJY37xJV1fZJySBv6Jn QFJaNQ20yPYiiIWnHFo1HoSeWvVlsnF14YQmKCfSwVMuOU0MbX+WDT0BH2ALypcaoJUb CiA7vBiXL90MwPE/+p895Z+LbtzblkcUl28L9gPtBbThld5I06kEd9+WiIg0KfEc3bEk dU8zvLO96faasryLAQpkPx71kPjTNbPHzqi2Ki2rp6Yokcvb6AMTKB6LdWYnahNSpuAk NscY+y0ykYWzcARpMqiQij9feKmhZNrJIxgYKpwm9yyvpNQsbaUozitmdpqCTW+ZI4AR Advg== 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; bh=QuRHxBiyYk+nmnKXkZ0kEwjFm+0WR134yWmW8VZ2w2Y=; b=KciJdN/qGvD6TKE00lGbClKWDx5ll4Gm3e13wfBNhdoeFgEd1by/22ks7UrMUJuJZr 1hzKPIhEExy0yaILASWKLQK+2ScKFu/lmrL4Htr7YQgDBK5523jN3kRu2W5b1JmYNEyy buPj34RXq3t43eWMQUlEB0waBtsY0HPn3fLr1fQ/QafaAxsb2VdSl/2MGbOZd9Wyje4H cI0o2rgks8AWKKSDjD2rlB2EyKGc3P7kKgfx56l4ugAD1sn/MDlAKTTLb7upJs29jNhL hRkPNHAPyOu/bcSiMBzN1xCb/yB7Tu/lRk9JevD+4mUFZk1qDQHWGbDbVSMPKj/YcEvE 8nlg== X-Gm-Message-State: AHPjjUjze2mHd34SPub1kKdMXIw1P+2oqdMK67eHrKENZfeWv33FM2x6 gibxdubB+LjmgjQsFQonjsi0zw== X-Google-Smtp-Source: AOwi7QBUWRnNbskF256jHmHnKa+oFcCRpSAvmH2yRqKcC83TqvqkZJAiICwsDEdrFudOtC6f6kMMeQ== X-Received: by 10.84.131.97 with SMTP id 88mr43089pld.280.1506104502624; Fri, 22 Sep 2017 11:21:42 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::e57f]) by smtp.gmail.com with ESMTPSA id x19sm642020pfa.16.2017.09.22.11.21.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Sep 2017 11:21:41 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Sep 2017 11:21:33 -0700 Message-Id: <20170922182133.36154-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.14.1 Subject: [oe] [meta-oe][PATCH V2] mongodb: Pass computed endian variable 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: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org If not passed to SCon, it will try to guess it and do it by poking at build host, which wont work in cross environment Signed-off-by: Khem Raj --- Changes in V2: Use SITEINFO_ENDIANNESS meta-oe/recipes-support/mongodb/mongodb_git.bb | 1 + 1 file changed, 1 insertion(+) -- 2.14.1 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-support/mongodb/mongodb_git.bb b/meta-oe/recipes-support/mongodb/mongodb_git.bb index d44d8d3c7..418d447d7 100644 --- a/meta-oe/recipes-support/mongodb/mongodb_git.bb +++ b/meta-oe/recipes-support/mongodb/mongodb_git.bb @@ -58,6 +58,7 @@ EXTRA_OESCONS = "--prefix=${D}${prefix} \ --use-system-zlib \ --js-engine=none \ --nostrip \ + --endian=${@base_conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} \ ${PACKAGECONFIG_CONFARGS} \ mongod mongos"