summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/luajit
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/luajit')
-rw-r--r--meta-oe/recipes-devtools/luajit/luajit_git.bb30
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").
27BUILD_CC_ARCH_append = " ${@['-m32',''][d.getVar('SITEINFO_BITS') != '32']}" 27BUILD_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
31LUA_TARGET_OS = "Unknown" 31LUA_TARGET_OS = "Unknown"
32LUA_TARGET_OS_darwin = "Darwin" 32LUA_TARGET_OS:darwin = "Darwin"
33LUA_TARGET_OS_linux = "Linux" 33LUA_TARGET_OS_linux = "Linux"
34LUA_TARGET_OS_linux-gnueabi = "Linux" 34LUA_TARGET_OS_linux-gnueabi = "Linux"
35LUA_TARGET_OS_mingw32 = "Windows" 35LUA_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"
40EXTRA_OEMAKE = "\ 40EXTRA_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.
85FILES_${PN} += "${prefix}/${baselib} ${prefix}/share" 85FILES:${PN} += "${prefix}/${baselib} ${prefix}/share"
86FILES_${PN} += "${libdir}/libluajit-5.1.so.2 \ 86FILES:${PN} += "${libdir}/libluajit-5.1.so.2 \
87 ${libdir}/libluajit-5.1.so.${PV} \ 87 ${libdir}/libluajit-5.1.so.${PV} \
88" 88"
89FILES_${PN}-dev += "${libdir}/libluajit-5.1.a \ 89FILES:${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"
93FILES_luajit-common = "${datadir}/${BPN}-${PV}" 93FILES: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
96COMPATIBLE_HOST_mipsarchn32 = "null" 96COMPATIBLE_HOST:mipsarchn32 = "null"
97COMPATIBLE_HOST_mipsarchn64 = "null" 97COMPATIBLE_HOST:mipsarchn64 = "null"
98COMPATIBLE_HOST_powerpc = "null" 98COMPATIBLE_HOST:powerpc = "null"
99COMPATIBLE_HOST_powerpc64 = "null" 99COMPATIBLE_HOST:powerpc64 = "null"
100COMPATIBLE_HOST_powerpc64le = "null" 100COMPATIBLE_HOST:powerpc64le = "null"
101COMPATIBLE_HOST_riscv64 = "null" 101COMPATIBLE_HOST:riscv64 = "null"
102COMPATIBLE_HOST_riscv32 = "null" 102COMPATIBLE_HOST:riscv32 = "null"