summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArnout Vandecappelle <arnout@mind.be>2017-03-05 23:24:42 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-03-06 21:20:51 +0100
commit687a313179b07865a12e9a35bc4c506fb371d2d0 (patch)
tree59fd3ad99a0c2ff803f1ee724c96b2ae8be18b08
parent6d7644df7043706e455b06817abbe24da5613210 (diff)
downloadbuildroot-687a313179b07865a12e9a35bc4c506fb371d2d0.tar.gz
buildroot-687a313179b07865a12e9a35bc4c506fb371d2d0.zip
package/Config.in: explain that lua package names should start with lua
We have decided that lua packages should have a name that starts with lua (like is the case for python and perl). However, we're not going to rename all the existing lua packages that don't start with lua. This makes it unclear for people adding packages how they should name the package, so add a comment to package/Config.in to explain it. It's rather terse but it gets the message across. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/Config.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index 78acc53718..cfe7fc608f 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -525,6 +525,10 @@ endif
if BR2_PACKAGE_HAS_LUAINTERPRETER && !BR2_STATIC_LIBS
# lua modules are dynamically loaded, so not available on static builds
menu "Lua libraries/modules"
+# When adding lua packages, make sure the name start with "lua". If the
+# upstream package is "luafoo", call it "luafoo" in Buildroot; if the upstream
+# package is "foo", call it "lua-foo". Many packages currently don't follow
+# this convention, but that's historical accident.
source "package/argparse/Config.in"
source "package/cgilua/Config.in"
source "package/copas/Config.in"
OpenPOWER on IntegriCloud