Message ID | 20170922175756.34609-1-raj.khem@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | [oe,meta-oe,1/2] mongodb: Pass computed endian variable | expand |
On Fri, Sep 22, 2017 at 10:57 AM, 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> > --- > 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..13ebd23f6 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='${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'big', 'little', d)}' \ Does checking TUNE_FEATURES work for all architectures? Or only architectures which can be both big and little endian? Maybe checking SITEINFO_ENDIANNESS would be more reliable. > ${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 --git a/meta-oe/recipes-support/mongodb/mongodb_git.bb b/meta-oe/recipes-support/mongodb/mongodb_git.bb index d44d8d3c7..13ebd23f6 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='${@bb.utils.contains('TUNE_FEATURES', 'bigendian', 'big', 'little', 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> --- 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