aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-05-10 18:07:17 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-05-16 11:04:34 +0200
commit6edc36d790dd905cb74fa46d061e63a8c590bdb3 (patch)
tree0a450c4c01f7ed3a8f3e0868550d932b849a0776 /meta-oe
parenta289eb906ee9d6c8c5a5abe87fe7095880449db3 (diff)
downloadmeta-openembedded-6edc36d790dd905cb74fa46d061e63a8c590bdb3.tar.gz
meta-openembedded-6edc36d790dd905cb74fa46d061e63a8c590bdb3.tar.bz2
meta-openembedded-6edc36d790dd905cb74fa46d061e63a8c590bdb3.zip
LuaJIT: Upgrade 2.0.0 -> 2.0.1
Fix stripping related warnings Drop foldarith_for_spe patch not neded anymore QA Error about elocations in .text are still there like 2.0.0 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-devtools/luajit/luajit-2.0.0/disable_lj_vm_foldarith_for_spe.patch13
-rw-r--r--meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch33
-rw-r--r--meta-oe/recipes-devtools/luajit/luajit_2.0.1.bb (renamed from meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb)13
3 files changed, 39 insertions, 20 deletions
diff --git a/meta-oe/recipes-devtools/luajit/luajit-2.0.0/disable_lj_vm_foldarith_for_spe.patch b/meta-oe/recipes-devtools/luajit/luajit-2.0.0/disable_lj_vm_foldarith_for_spe.patch
deleted file mode 100644
index c96fc77c7..000000000
--- a/meta-oe/recipes-devtools/luajit/luajit-2.0.0/disable_lj_vm_foldarith_for_spe.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-Index: LuaJIT-2.0.0/src/lj_vmmath.c
-===================================================================
---- LuaJIT-2.0.0.orig/src/lj_vmmath.c 2012-11-08 02:10:00.000000000 -0800
-+++ LuaJIT-2.0.0/src/lj_vmmath.c 2012-11-19 22:15:28.613527136 -0800
-@@ -22,7 +22,7 @@
- LJ_FUNCA double lj_vm_tanh(double x) { return tanh(x); }
- #endif
-
--#if !LJ_TARGET_X86ORX64
-+#if !(LJ_TARGET_X86ORX64 || LJ_TARGET_PPCSPE)
- double lj_vm_foldarith(double x, double y, int op)
- {
- switch (op) {
diff --git a/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch
new file mode 100644
index 000000000..f123b3f55
--- /dev/null
+++ b/meta-oe/recipes-devtools/luajit/luajit/0001-Do-not-strip-automatically-this-leaves-the-stripping.patch
@@ -0,0 +1,33 @@
+From 528009f5ca0685c95ef27f6c8957160499c0576a Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Fri, 10 May 2013 10:42:45 -0700
+Subject: [PATCH] Do not strip automatically, this leaves the stripping
+ busines to OE
+
+Upstream-Status: Inappropriate [OE-Specific]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ src/Makefile | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/src/Makefile b/src/Makefile
+index 278324a..5ecd6d5 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -665,12 +665,10 @@ $(LUAJIT_A): $(LJVMCORE_O)
+ $(LUAJIT_SO): $(LJVMCORE_O)
+ $(E) "DYNLINK $@"
+ $(Q)$(TARGET_LD) $(TARGET_ASHLDFLAGS) -o $@ $(LJVMCORE_DYNO) $(TARGET_ALIBS)
+- $(Q)$(TARGET_STRIP) $@
+
+ $(LUAJIT_T): $(TARGET_O) $(LUAJIT_O) $(TARGET_DEP)
+ $(E) "LINK $@"
+ $(Q)$(TARGET_LD) $(TARGET_ALDFLAGS) -o $@ $(LUAJIT_O) $(TARGET_O) $(TARGET_ALIBS)
+- $(Q)$(TARGET_STRIP) $@
+ $(E) "OK Successfully built LuaJIT"
+
+ ##############################################################################
+--
+1.7.9.5
+
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.1.bb
index 38783869c..99a2ca6fb 100644
--- a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb
+++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.1.bb
@@ -1,15 +1,14 @@
DESCRIPTION = " a Just-In-Time Compiler for Lua"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=9511885992e4900014e3b13ca6372b7d"
+LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=1793ef52a5d577794cd886a501a7f861"
HOMEPAGE = "http://luajit.org"
DEPENDS += "lua5.1"
-PR = "r2"
SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \
- file://disable_lj_vm_foldarith_for_spe.patch \
-"
-SRC_URI[md5sum] = "97a2b87cc0490784f54b64cfb3b8f5ad"
-SRC_URI[sha256sum] = "deaed645c4a093c5fb250c30c9933c9131ee05c94b13262d58f6e0b60b338c15"
+ file://0001-Do-not-strip-automatically-this-leaves-the-stripping.patch \
+ "
+SRC_URI[md5sum] = "85e406e8829602988eb1233a82e29f1f"
+SRC_URI[sha256sum] = "2371cceb53453d8a7b36451e6a0ccdb66236924545d6042ddd4c34e9668990c0"
S = "${WORKDIR}/LuaJIT-${PV}"
@@ -43,7 +42,7 @@ do_install () {
PACKAGES += 'luajit-common'
FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \
- ${libdir}/libluajit-5.1.so.2.0.0 \
+ ${libdir}/libluajit-5.1.so.${PV} \
"
FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \
${libdir}/libluajit-5.1.so \