aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mozjs
AgeCommit message (Collapse)Author
2017-04-26mozjs: prevent target CFLAGS etc being passed to the hostAndre McCurdy
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-04-26mozjs: Fix build with gcc7Khem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-03-07Make use of the new bb.utils.filter() functionPeter Kjellerstedt
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-09-26mozjs: fix crash on non-x86 64 bit systemsKoen Kooi
Mozjs is mozillaware, meaning that it barely works on x86 and is plain broken on everything else. This time mozjs assumes that noone will ever have more than 47bit for VA, breaking aarch64 which can have more. Thanks to polkit developers using mozjs systemd will crash early during boot when using polkit. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22meta-oe: remove trailing spacesMartin Jansa
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-22meta-oe: Standardize use of "_append" versus use of "+="Robert P. J. Day
Remove superfluous "+=", then manually add necessary leading space. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-08-08mozjs: Fix incorrect usage of PN.Jeremy Puhlman
When building mutlilib, using ${PN} in the middle of the package name creates incorrect package names: lib32-liblib32-mozjs lib32-liblib32-mozjs.shlibdeps Which in turn breaks license.bbclass during image creation. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28mozjs: fix configure host contaminationMark Asselstine
When building mozjs the following error was observed | Traceback (most recent call last): | File "./config.status", line 9, in <module> | from ConfigStatus import config_status | File "/build/bitbake_build/tmp/work/corei7-64-wrs-linux/mozjs/17.0.0-r0/mozjs17.0.0/js/src/build/ConfigStatus.py", line 11, in <module> | import sys, re, os, posixpath, ntpath | File "/usr/lib/python2.7/ntpath.py", line 15, in <module> | from genericpath import _unicode | ImportError: cannot import name _unicode | WARNING: exit code 1 from a shell command. | ERROR: Function failed: do_configure (log file is located at /build//bitbake_build/tmp/work/corei7-64-wrs-linux/mozjs/17.0.0-r0/temp/do_configure/log.do_configure.1056 Note the host paths found in the error msg. Further this issue can be explored using the host python, which will not error when attempting the above import, and the python in the sysroot, which will fail when we attempt the import. By inheriting pythonnative we ensure the proper paths are set to avoid this host contamination. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28mozjs_17.0.0.bb: Fix do_srpm errorLi xin
The function do_sourceclean() will lead to do_srpm failed, so use do_unpack instead. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-04-28mozjs: fix armeb buildsKoen Kooi
The mozjs builds fails on armeb, so add a define to make it work. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2016-01-14mozjs: fix linking issues on i586Maciej Borzecki
When building for qemux86 on a x86 host, there's a possibility that the build will try to link with incorrect libraries. Due to problematic -rpath-link the linker may try to use host libraries if they are present and are arch compatible. Signed-off-by: Maciej Borzecki <maciej.borzecki@open-rnd.pl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-09-23mozjs: add PACKAGECONFIG for x11Jackie Huang
Add PACKAGECONFIG for x11 and enable it when x11 is included in DISTRO_FEATURES, and specify the correct path for x-includes and x-libraries to avoid searching the host libraries. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-30mozjs: fix lib soname issueArmin Kuster
polkit failed to build do to missing mozjs libs. The libs created are: libmozjs-..a libmozjs-..so this was caused by a perl script error Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at config/milestone.pl line 58. this script is use to determine the major and minor lib versions. I believe this issue is do to the recent perl update. this fixes the lib creation error and polkit build error. I am not a perl person so this may not be the idea fix. Signed-off-by: Armin Kuster <akuster808@gmail.com> Acked-By: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-16gegl, crash, libsecret, mpg123, tinymembench, gammu, mosh, llvm3.3, ↵Martin Jansa
breakpad, php, mozjs, libopus: disable thumb where it fails for qemuarm Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13mozjs: fix PN -> BPN for multilibYi Zhao
Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-11mozjs: fix the compile error of powerpc64Chunrong Guo
fix the following error |error: 'jsuword' does not name a type Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-04-21mozjs: disable methodjit for armv4Dmitry Eremin-Solenikov
methodjit uses assembler instructions which are not available on armv4 architecture. Disable methodjit for it. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-03-06mozjs 17.0.0: fix aarch64 and 64k page builds, generic cleanupsKoen Kooi
* Mozjs17 has problems with 64k page sizes (powerpc64, aarch64 and probably others) and lacks support for aarch64. Patches were lifted from the fedora src rpm and rediffed. * Regenerate configure with autoconf-2.13 to make the fixes mentioned above take effect. * Provide proper config.guess and config.sub files * Explicitly disable static builds and regroup configure options. * Also clean out the patches/ dir present in the tarball to avoid conflicts with the OE patcher. Signed-off-by: Koen Kooi <koen.kooi@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-02-12mozjs_17.0.0: Fix build error in powerpc(e500v2)leimaohui
To fix the bug as following error: cannot convert '__va_list_tag**' to '__va_list_tag (*)[1]' for argument '5' to 'JSBool TryArgumentFormatter(JSContext*, const char**, JSBool, jsval**, __va_list_tag (*)[1])' Signed-off-by: Lei Maohui <leimaohui@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-22mozjs: Add missing zlib dependencyRichard Purdie
Avoids a QA warning. In reality zlib is likely nearly always built before mozjs. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-07-15meta-oe: use BPN in SRC_URIRobert Yang
Fixed SRC_URI: * ${PN} -> ${BPN}, use ${BP} if it was ${PN}-${PV} * ${P} -> ${BP} Otherwise we would meet do_fetch errors when we do the multilib, native or nativesdk build. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03mozjs: Fix build when B != SKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-01-22mozjs: Fix QA errors when building with multilibKhem Raj
We do not take care of default libdir which accidently works out to be ok for non-multilib case since its /usr/lib Fixes error like ERROR: QA Issue: mozjs: Files/directories were installed but not shipped /usr/lib /usr/lib/libmozjs-17.0.a /usr/lib/libmozjs-17.0.so /usr/lib/pkgconfig /usr/lib/.debug /usr/lib/pkgconfig/mozjs-17.0.pc /usr/lib/.debug/libmozjs-17.0.so Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-06-20mozjs: initial add 17.0.0Andreas Müller
later versions of polkit will need it Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>