summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/swupdate/Config.in7
-rw-r--r--package/swupdate/swupdate.mk4
2 files changed, 4 insertions, 7 deletions
diff --git a/package/swupdate/Config.in b/package/swupdate/Config.in
index dbc69f1fe8..7a0f9d12e5 100644
--- a/package/swupdate/Config.in
+++ b/package/swupdate/Config.in
@@ -4,7 +4,7 @@ config BR2_PACKAGE_SWUPDATE
depends on BR2_USE_MMU # fork()
# swupdate requires a parser and uses libconfig as default
select BR2_PACKAGE_LIBCONFIG if !BR2_PACKAGE_JSON_C && \
- !BR2_PACKAGE_HAS_LUAINTERPRETER
+ !BR2_PACKAGE_LUA_5_2 && !BR2_PACKAGE_LUA_5_3
help
swupdate provides a reliable way to update the software on an
embedded system.
@@ -19,11 +19,8 @@ config BR2_PACKAGE_SWUPDATE
use your own modified configuration, you have to select the
necessary packages manually:
- * Select BR2_PACKAGE_LUA or BR2_PACKAGE_LUAJIT if you want
+ * Select BR2_PACKAGE_LUA_5_2 or BR2_PACKAGE_LUA_5_3 if you want
to have Lua support.
- CONFIG_HANDLER_IN_LUA is not supported in LuaJIT or Lua 5.1.
- Note that for LuaJIT support, you need to set
- CONFIG_LUAVERSION="jit-5.1".
* Select BR2_LIBCURL if you want to use the download feature.
* Select BR2_PACKAGE_OPENSSL is you want to add encryption support.
* Select BR2_PACKAGE_MTD if you want to use swupdate with UBI
diff --git a/package/swupdate/swupdate.mk b/package/swupdate/swupdate.mk
index ee92adddf0..fbb092da05 100644
--- a/package/swupdate/swupdate.mk
+++ b/package/swupdate/swupdate.mk
@@ -39,8 +39,8 @@ else
SWUPDATE_MAKE_ENV += HAVE_LIBCURL=n
endif
-ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
-SWUPDATE_DEPENDENCIES += luainterpreter host-pkgconf
+ifeq ($(BR2_PACKAGE_LUA_5_2)$(BR2_PACKAGE_LUA_5_3),y)
+SWUPDATE_DEPENDENCIES += lua host-pkgconf
SWUPDATE_MAKE_ENV += HAVE_LUA=y
else
SWUPDATE_MAKE_ENV += HAVE_LUA=n
OpenPOWER on IntegriCloud