Skip to contentSkip to conversation

mongodb: Pass computed endian variable

PATCH Superseded Khem Raj 2 participants 2 messages Sep 22, 2017 – Sep 27, 2017

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 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

---
Changes in V2: Use SITEINFO_ENDIANNESS

 meta-oe/recipes-support/mongodb/mongodb_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/mongodb/mongodb_git.bb +1 -0
index d44d8d3c7..418d447d7 100644
@@ -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"
 
Signature · 1 line
2.14.1
#1 lore raw

Seems to cause following build failure:
http://errors.yoctoproject.org/Errors/Details/156585/

Quoted 34 lines · Khem Raj

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

---
Changes in V2: Use SITEINFO_ENDIANNESS

 meta-oe/recipes-support/mongodb/mongodb_git.bb | 1 +
 1 file changed, 1 insertion(+)
meta-oe/recipes-support/mongodb/mongodb_git.bb +1 -1
index d44d8d3c7..418d447d7 100644
@@ -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"
 
--

2.14.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel