diff mbox series

[oe,meta-oe,V2] mongodb: Pass computed endian variable

Message ID 20170922182133.36154-1-raj.khem@gmail.com
State New
Headers show
Series [oe,meta-oe,V2] mongodb: Pass computed endian variable | expand

Commit Message

Khem Raj Sept. 22, 2017, 6:21 p.m. UTC
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 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

Comments

Martin Jansa Sept. 27, 2017, 7:06 p.m. UTC | #1
Seems to cause following build failure:
http://errors.yoctoproject.org/Errors/Details/156585/

On Fri, Sep 22, 2017 at 8:21 PM, Khem Raj <raj.khem@gmail.com> wrote:

> 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 V2: Use SITEINFO_ENDIANNESS

>

>  meta-oe/recipes-support/mongodb/mongodb_git.bb | 1 +

>  1 file changed, 1 insertion(+)

>

> 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"

>

> --

> 2.14.1

>

> --

> _______________________________________________

> Openembedded-devel mailing list

> Openembedded-devel@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

>

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

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"