From 194ea0ffd988f30ed8c6393bfc37bc2a5dfecba3 Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Wed, 18 Mar 2015 20:24:57 +0100 Subject: [PATCH] gluon-core: add i18n support --- gluon/gluon-core/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/gluon/gluon-core/Makefile b/gluon/gluon-core/Makefile index ddd9ad4..ebb5268 100644 --- a/gluon/gluon-core/Makefile +++ b/gluon/gluon-core/Makefile @@ -15,6 +15,21 @@ define Package/gluon-core DEPENDS:=+gluon-config +lua-platform-info +luci-lib-nixio +odhcp6c +firewall endef + +define LangConfig +config GLUON_LANG_$(1) + bool "$(GLUON_LANG_$(1)) language support" + depends on PACKAGE_gluon-core + default n + +endef + + +define Package/gluon-core/config +$(foreach lang,$(GLUON_SUPPORTED_LANGS),$(call LangConfig,$(lang))) +endef + + define Package/gluon-core/description Gluon community wifi mesh firmware framework: core endef