@@ -4,6 +4,7 @@ config BR2_PACKAGE_EFL
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_7
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS # luajit
+ depends on !BR2_PACKAGE_LUA # luajit
depends on BR2_TOOLCHAIN_HAS_THREADS # untested without threads
depends on BR2_USE_MMU
depends on BR2_USE_WCHAR # use wchar_t
@@ -15,6 +15,7 @@ config BR2_PACKAGE_LUAJIT
# Luajit is only available for some target architectures, and
# has some complexity wrt 32/64. See luajit.mk for details.
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
+ depends on !BR2_PACKAGE_LUA
# luajit.mk uses the "-m32" compiler option to build 32bit
# binaries, so check if that option is supported. See
# luajit.mk for details.
@@ -6,6 +6,7 @@ config BR2_PACKAGE_MINETEST
depends on BR2_PACKAGE_XORG7 # irrlicht
depends on BR2_PACKAGE_HAS_LIBGL # irrlicht
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
+ depends on !BR2_PACKAGE_LUA # luajit
select BR2_PACKAGE_IRRLICHT
select BR2_PACKAGE_GMP
select BR2_PACKAGE_JSONCPP
@@ -2,6 +2,7 @@ config BR2_PACKAGE_SOLARUS
bool "solarus"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
+ depends on !BR2_PACKAGE_LUA_5_3 # luajit
depends on BR2_PACKAGE_OPENAL_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # openal
@@ -3,6 +3,7 @@ config BR2_PACKAGE_SYSDIG
depends on BR2_LINUX_KERNEL
depends on BR2_INSTALL_LIBSTDCPP # libjson
depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
+ depends on !BR2_PACKAGE_LUA # luajit
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
depends on !BR2_STATIC_LIBS # luajit, elfutils
depends on BR2_USE_WCHAR # elfutils
The luajit package is incomaptible with lua so luajit should depend on !BR2_PACKAGE_LUA, propagate this dependency to packages selecting luajit. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> --- Changes v1 -> v2: - depend on !BR2_PACKAGE_LUA_5_3 instead of !BR2_PACKAGE_LUA for solarus --- package/efl/Config.in | 1 + package/luajit/Config.in | 1 + package/minetest/Config.in | 1 + package/solarus/Config.in | 1 + package/sysdig/Config.in | 1 + 5 files changed, 5 insertions(+)