Adjust luci.mk and luci-base to find out correctly if Luci is built
from master or from a branch. Display that value in the footer and
the overview page.
* Evaluate the git branch in luci.mk and pass that to LuCI submodules
as a make variable. Use branch name, ignore tags.
* Deprecate svn detection in luci-base's mkversion.sh that generates
version.lua. Simply use the value passed by make.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
Make sure that translation packages enabled through CONFIG_ALL
that depend on builtin packages are restricted to modules.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Rework the language package dependencies to avoid introducing unnecessary
depends. The luci-i18n-$app-$lang packages now depend on luci-$app.
* When a language is selected as <*> then the language packs for each
enabled LuCI module are built into the image
* When a language is selected as <m> then the language packs for each
enabled LuCI module are built as package
* When CONFIG_ALL is set (e.g. release builds, snapshots) then all
language packs are built
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
Turn language selection into a tristate, this allows building language
packages without having them included in the image.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* Rename subdirectories to their repective OpenWrt package names
* Make each LuCI module its own standalone package
* Deploy a shared luci.mk which is used by each module Makefile
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>