diff options
Diffstat (limited to 'meta-oe/recipes-devtools/luajit')
| -rw-r--r-- | meta-oe/recipes-devtools/luajit/luajit_git.bb | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/meta-oe/recipes-devtools/luajit/luajit_git.bb b/meta-oe/recipes-devtools/luajit/luajit_git.bb index 753835261f..645680cd9f 100644 --- a/meta-oe/recipes-devtools/luajit/luajit_git.bb +++ b/meta-oe/recipes-devtools/luajit/luajit_git.bb | |||
| @@ -24,15 +24,15 @@ BBCLASSEXTEND = "native" | |||
| 24 | # you need to install the multilib development package (e.g. | 24 | # you need to install the multilib development package (e.g. |
| 25 | # libc6-dev-i386 on Debian/Ubuntu) and build a 32 bit host part | 25 | # libc6-dev-i386 on Debian/Ubuntu) and build a 32 bit host part |
| 26 | # (HOST_CC="gcc -m32"). | 26 | # (HOST_CC="gcc -m32"). |
| 27 | BUILD_CC_ARCH_append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}" | 27 | BUILD_CC_ARCH:append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}" |
| 28 | 28 | ||
| 29 | # The lua makefiles expect the TARGET_SYS to be from uname -s | 29 | # The lua makefiles expect the TARGET_SYS to be from uname -s |
| 30 | # Values: Windows, Linux, Darwin, iOS, SunOS, PS3, GNU/kFreeBSD | 30 | # Values: Windows, Linux, Darwin, iOS, SunOS, PS3, GNU/kFreeBSD |
| 31 | LUA_TARGET_OS = "Unknown" | 31 | LUA_TARGET_OS = "Unknown" |
| 32 | LUA_TARGET_OS_darwin = "Darwin" | 32 | LUA_TARGET_OS:darwin = "Darwin" |
| 33 | LUA_TARGET_OS_linux = "Linux" | 33 | LUA_TARGET_OS_linux = "Linux" |
| 34 | LUA_TARGET_OS_linux-gnueabi = "Linux" | 34 | LUA_TARGET_OS_linux-gnueabi = "Linux" |
| 35 | LUA_TARGET_OS_mingw32 = "Windows" | 35 | LUA_TARGET_OS:mingw32 = "Windows" |
| 36 | 36 | ||
| 37 | # We don't want the lua buildsystem's compiler optimizations, or its | 37 | # We don't want the lua buildsystem's compiler optimizations, or its |
| 38 | # stripping, and we don't want it to pick up CFLAGS or LDFLAGS, as those apply | 38 | # stripping, and we don't want it to pick up CFLAGS or LDFLAGS, as those apply |
| @@ -40,7 +40,7 @@ LUA_TARGET_OS_mingw32 = "Windows" | |||
| 40 | EXTRA_OEMAKE = "\ | 40 | EXTRA_OEMAKE = "\ |
| 41 | Q= E='@:' \ | 41 | Q= E='@:' \ |
| 42 | \ | 42 | \ |
| 43 | CCOPT= CCOPT_x86= CFLAGS= LDFLAGS= TARGET_STRIP='@:' \ | 43 | CCOPT= CCOPT:x86= CFLAGS= LDFLAGS= TARGET_STRIP='@:' \ |
| 44 | \ | 44 | \ |
| 45 | 'TARGET_SYS=${LUA_TARGET_OS}' \ | 45 | 'TARGET_SYS=${LUA_TARGET_OS}' \ |
| 46 | \ | 46 | \ |
| @@ -82,21 +82,21 @@ PACKAGES += 'luajit-common' | |||
| 82 | 82 | ||
| 83 | # See the comment for EXTRA_OEMAKEINST. This is needed to ensure the hardcoded | 83 | # See the comment for EXTRA_OEMAKEINST. This is needed to ensure the hardcoded |
| 84 | # paths are packaged regardless of what the libdir and datadir paths are. | 84 | # paths are packaged regardless of what the libdir and datadir paths are. |
| 85 | FILES_${PN} += "${prefix}/${baselib} ${prefix}/share" | 85 | FILES:${PN} += "${prefix}/${baselib} ${prefix}/share" |
| 86 | FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \ | 86 | FILES:${PN} += "${libdir}/libluajit-5.1.so.2 \ |
| 87 | ${libdir}/libluajit-5.1.so.${PV} \ | 87 | ${libdir}/libluajit-5.1.so.${PV} \ |
| 88 | " | 88 | " |
| 89 | FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ | 89 | FILES:${PN}-dev += "${libdir}/libluajit-5.1.a \ |
| 90 | ${libdir}/libluajit-5.1.so \ | 90 | ${libdir}/libluajit-5.1.so \ |
| 91 | ${libdir}/pkgconfig/luajit.pc \ | 91 | ${libdir}/pkgconfig/luajit.pc \ |
| 92 | " | 92 | " |
| 93 | FILES_luajit-common = "${datadir}/${BPN}-${PV}" | 93 | FILES:luajit-common = "${datadir}/${BPN}-${PV}" |
| 94 | 94 | ||
| 95 | # mips64/ppc/ppc64/riscv64 is not supported in this release | 95 | # mips64/ppc/ppc64/riscv64 is not supported in this release |
| 96 | COMPATIBLE_HOST_mipsarchn32 = "null" | 96 | COMPATIBLE_HOST:mipsarchn32 = "null" |
| 97 | COMPATIBLE_HOST_mipsarchn64 = "null" | 97 | COMPATIBLE_HOST:mipsarchn64 = "null" |
| 98 | COMPATIBLE_HOST_powerpc = "null" | 98 | COMPATIBLE_HOST:powerpc = "null" |
| 99 | COMPATIBLE_HOST_powerpc64 = "null" | 99 | COMPATIBLE_HOST:powerpc64 = "null" |
| 100 | COMPATIBLE_HOST_powerpc64le = "null" | 100 | COMPATIBLE_HOST:powerpc64le = "null" |
| 101 | COMPATIBLE_HOST_riscv64 = "null" | 101 | COMPATIBLE_HOST:riscv64 = "null" |
| 102 | COMPATIBLE_HOST_riscv32 = "null" | 102 | COMPATIBLE_HOST:riscv32 = "null" |
