[oe-commits] [meta-openembedded] 04/16: mongodb: Pass computed endian variable
git at git.openembedded.org
git at git.openembedded.org
Tue Oct 3 10:55:08 UTC 2017
This is an automated email from the git hooks/post-receive script.
martin_jansa pushed a commit to branch master-next
in repository meta-openembedded.
commit 7de1e2232337e074c546218843ec6f9ef561d5ed
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Thu Sep 28 22:27:41 2017 -0700
mongodb: Pass computed endian variable
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 <raj.khem at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/mongodb/mongodb_git.bb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/mongodb/mongodb_git.bb b/meta-oe/recipes-support/mongodb/mongodb_git.bb
index d44d8d3..0ff7d0b 100644
--- a/meta-oe/recipes-support/mongodb/mongodb_git.bb
+++ b/meta-oe/recipes-support/mongodb/mongodb_git.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://GNU-AGPL-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788
DEPENDS = "openssl libpcre libpcap zlib python boost"
-inherit scons dos2unix
+inherit scons dos2unix siteinfo
PV = "3.4.6+git${SRCPV}"
SRCREV = "c55eb86ef46ee7aede3b1e2a5d184a7df4bfb5b5"
@@ -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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list