[Buildroot] [git commit] swupdate: update lua check for libconfig

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Oct 25 19:35:55 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=7d55462df8495502738a3b7ffe1be56582ce79ae
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Most probably this was missed in commit
65b2ae49feb310d3272a47c44cf3b406646b25c1 which removed pinning to Lua
5.2.

Signed-off-by: Jordan Yelloz <jordan at yelloz.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/swupdate/Config.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/package/swupdate/Config.in b/package/swupdate/Config.in
index 5f5e1e7..d7217af 100644
--- a/package/swupdate/Config.in
+++ b/package/swupdate/Config.in
@@ -3,7 +3,8 @@ config BR2_PACKAGE_SWUPDATE
 	depends on BR2_TOOLCHAIN_HAS_THREADS
 	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_LUA_5_2
+	select BR2_PACKAGE_LIBCONFIG if !BR2_PACKAGE_JSON_C && \
+		!BR2_PACKAGE_HAS_LUAINTERPRETER
 	help
 	  swupdate provides a reliable way to update the software on an
 	  embedded system.


More information about the buildroot mailing list