Commit Graph

7 Commits

Author SHA1 Message Date
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