Commit Graph

12 Commits

Author SHA1 Message Date
Armin Kuster
f2ead8e308 mozjs: fix lib soname issue
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-30 21:24:30 +02:00
Martin Jansa
e836f8f936 gegl, crash, libsecret, mpg123, tinymembench, gammu, mosh, llvm3.3, breakpad, php, mozjs, libopus: disable thumb where it fails for qemuarm
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-07-16 21:09:05 +02:00
Yi Zhao
fd5b7b64c6 mozjs: fix PN -> BPN for multilib
Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2015-05-13 14:32:02 +02:00
Chunrong Guo
894298d930 mozjs: fix the compile error of powerpc64
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-05-11 10:25:52 +02:00
Dmitry Eremin-Solenikov
6f3ed4ec77 mozjs: disable methodjit for armv4
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-04-21 13:03:10 +02:00
Koen Kooi
2a3ffe806a mozjs 17.0.0: fix aarch64 and 64k page builds, generic cleanups
* 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-03-06 07:34:07 +01:00
leimaohui
736e3daa82 mozjs_17.0.0: Fix build error in powerpc(e500v2)
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>
2015-02-12 19:31:53 +01:00
Richard Purdie
8576cc15c7 mozjs: Add missing zlib dependency
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-22 00:01:50 +02:00
Robert Yang
05de0ca43d meta-oe: use BPN in SRC_URI
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-07-15 14:56:55 +02:00
Khem Raj
f3b6028a2a mozjs: Fix build when B != S
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2014-05-03 20:47:00 +02:00
Khem Raj
eed6182230 mozjs: Fix QA errors when building with multilib
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>
2014-01-22 12:22:39 +01:00
Andreas Müller
0368f18b3f mozjs: initial add 17.0.0
later versions of polkit will need it

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
2013-06-20 12:27:59 +02:00