swupdate: improved help text for Lua support
authorJordan Yelloz <jordan@yelloz.me>
Sun, 24 Jul 2016 23:27:38 +0000 (16:27 -0700)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 25 Oct 2016 19:41:51 +0000 (21:41 +0200)
It now explains limitations of building against Lua < 5.2 interpreters
and how to link to LuaJIT library.

Signed-off-by: Jordan Yelloz <jordan@yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/swupdate/Config.in

index d7217af1c47f47121f42d956c5c79508d8291b4d..d9ef1bc7a40d88bd85f136b216a0c5db698328c8 100644 (file)
@@ -19,7 +19,11 @@ config BR2_PACKAGE_SWUPDATE
          use your own modified configuration, you have to select the
          necessary packages manually:
 
-         * Select BR2_PACKAGE_LUA if you want to have Lua support.
+         * Select BR2_PACKAGE_LUA or BR2_PACKAGE_LUAJIT 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