diff options
Diffstat (limited to 'meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb')
-rw-r--r-- | meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb b/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb index a7f96f81f..38783869c 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_2.0.0.bb | |||
@@ -7,7 +7,7 @@ DEPENDS += "lua5.1" | |||
7 | PR = "r2" | 7 | PR = "r2" |
8 | SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ | 8 | SRC_URI = "http://luajit.org/download/LuaJIT-${PV}.tar.gz \ |
9 | file://disable_lj_vm_foldarith_for_spe.patch \ | 9 | file://disable_lj_vm_foldarith_for_spe.patch \ |
10 | " | 10 | " |
11 | SRC_URI[md5sum] = "97a2b87cc0490784f54b64cfb3b8f5ad" | 11 | SRC_URI[md5sum] = "97a2b87cc0490784f54b64cfb3b8f5ad" |
12 | SRC_URI[sha256sum] = "deaed645c4a093c5fb250c30c9933c9131ee05c94b13262d58f6e0b60b338c15" | 12 | SRC_URI[sha256sum] = "deaed645c4a093c5fb250c30c9933c9131ee05c94b13262d58f6e0b60b338c15" |
13 | 13 | ||
@@ -16,8 +16,8 @@ S = "${WORKDIR}/LuaJIT-${PV}" | |||
16 | inherit pkgconfig binconfig | 16 | inherit pkgconfig binconfig |
17 | 17 | ||
18 | do_configure_prepend() { | 18 | do_configure_prepend() { |
19 | sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile | 19 | sed -i -e s:/usr/local:${prefix}:g ${S}/Makefile |
20 | sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile | 20 | sed -i -e s:/lib$:${base_libdir}:g ${S}/Makefile |
21 | } | 21 | } |
22 | 22 | ||
23 | EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} TARGET_CFLAGS="${TOOLCHAIN_OPTIONS}" TARGET_LDFLAGS="${TOOLCHAIN_OPTIONS}" TARGET_SHLDFLAGS="${TOOLCHAIN_OPTIONS}"' | 23 | EXTRA_OEMAKE = 'CROSS=${HOST_PREFIX} TARGET_CFLAGS="${TOOLCHAIN_OPTIONS}" TARGET_LDFLAGS="${TOOLCHAIN_OPTIONS}" TARGET_SHLDFLAGS="${TOOLCHAIN_OPTIONS}"' |
@@ -29,25 +29,25 @@ EXTRA_OEMAKE_append_arm = ' HOST_CC="${BUILD_CC} -m32"' | |||
29 | EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"' | 29 | EXTRA_OEMAKE_append_mips64 = ' HOST_CC="${BUILD_CC} -m32"' |
30 | 30 | ||
31 | do_compile () { | 31 | do_compile () { |
32 | oe_runmake | 32 | oe_runmake |
33 | } | 33 | } |
34 | 34 | ||
35 | do_install () { | 35 | do_install () { |
36 | oe_runmake 'DESTDIR=${D}' install | 36 | oe_runmake 'DESTDIR=${D}' install |
37 | rmdir ${D}${datadir}/lua/5.1 \ | 37 | rmdir ${D}${datadir}/lua/5.1 \ |
38 | ${D}${datadir}/lua \ | 38 | ${D}${datadir}/lua \ |
39 | ${D}${libdir}/lua/5.1 \ | 39 | ${D}${libdir}/lua/5.1 \ |
40 | ${D}${libdir}/lua | 40 | ${D}${libdir}/lua |
41 | } | 41 | } |
42 | 42 | ||
43 | PACKAGES += 'luajit-common' | 43 | PACKAGES += 'luajit-common' |
44 | 44 | ||
45 | FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \ | 45 | FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \ |
46 | ${libdir}/libluajit-5.1.so.2.0.0 \ | 46 | ${libdir}/libluajit-5.1.so.2.0.0 \ |
47 | " | 47 | " |
48 | FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ | 48 | FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ |
49 | ${libdir}/libluajit-5.1.so \ | 49 | ${libdir}/libluajit-5.1.so \ |
50 | ${libdir}/pkgconfig/luajit.pc \ | 50 | ${libdir}/pkgconfig/luajit.pc \ |
51 | " | 51 | " |
52 | FILES_luajit-common = "${datadir}/${BPN}-${PV}" | 52 | FILES_luajit-common = "${datadir}/${BPN}-${PV}" |
53 | 53 | ||