luci.mk: don't builtin translations selected by CONFIG_ALL

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>
This commit is contained in:
Jo-Philipp Wich 2015-05-05 10:32:15 +02:00
parent 36879e9e86
commit c43879f59c

View file

@ -182,7 +182,7 @@ define LuciTranslation
CATEGORY:=LuCI
TITLE:=$(PKG_NAME) - $(1) translation
HIDDEN:=1
DEFAULT:=LUCI_LANG_$(1)||ALL
DEFAULT:=LUCI_LANG_$(1)||(ALL&&m)
DEPENDS:=$(PKG_NAME)
PKGARCH:=all
endef