@@ -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"
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@gmail.com> --- Changes in V3: Inherit siteinfo class meta-oe/recipes-support/mongodb/mongodb_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.14.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel